Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to know java Compiler version?

807599Apr 23 2007 — edited Apr 24 2007
Hi all,
could I know how to get the compiler version of java?
javac -source 1.x says if compiler has support to the specified version or not, but I want a command to get the compiler version, like it should say 1.4 or 1.5 as it says after executing java -version.

Thanx
Reddy
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 22 2007
Added on Apr 23 2007
10 comments
269 views