jQuery in Action, 3rd edition
The moose likes Junior/Associate Certification (SCJA,OCAJ 5/6/8) and the fly likes javac -version?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Junior/Associate Certification (SCJA,OCAJ 5/6/8)
Bookmark "javac -version??" Watch "javac -version??" New topic

javac -version??

paarul saxena

Joined: Jun 18, 2008
Posts: 10
i have encountered javac -version as valid in few mocks and invalid on some..though its invalid on java compiler ..i have checked..
does javax.swing support trees and tables...the answer is again ambigous
Anand Shrivastava
Ranch Hand

Joined: Jul 22, 2007
Posts: 125
javac -version is correct. It gives the compiler version of the JDK.
and Swings do support trees and tables.

Anand Shrivastava
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

Well, javac -version works, and it sorta looks like it doesn't work.

Here's what I get when I do it locally:

So, it works, but it spits out usage information, because it wants you to know that javac is supposed to be used to compile your code. But, it does indeed work!

Check out the Java applets on this page. There are AWT and Swing Applets. If you look at the SwingSet, you'll see plenty of lists and trees!

Java Applets - Web Based Swing for the Sun Associcates Exam

-Cameron McKenzie
I agree. Here's the link: http://aspose.com/file-tools
subject: javac -version??
It's not a secret anymore!