Some differences between c++ and java:
Java compiled code is platform independent whereas c++ compiled code is platform dependent
Java interpreter reports the run-time error that caused the execution to halt unlike in c/c++ programs which may simply crash