What is the difference between GCJ and jre?

I was trying to install jdk and jre latest version on my linux machine .

Oracle enterprise linux

However after successful install of jdk and jre i came across a strange thing that whenever i used to fire java -version
i used to get following output
Quote:
java
Usage: gij [OPTION] ... CLASS [ARGS] ...
to invoke CLASS.main, or
gij -jar [OPTION] ... JARFILE [ARGS] ...
to execute a jar file
Try `gij --help' for more information.
But after few tweaking into my system i somehow managed to get the latest java running.

But now i m confused what was the previous output referring to and why was it there?
 
Back
Top