File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javac -version??

 
paarul saxena
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have encountered javac -version as valid in few mocks and invalid on some..though its invalid on java compiler ..i have checked..
also..
does javax.swing support trees and tables...the answer is again ambigous
 
Anand Shrivastava
Ranch Hand
Posts: 125
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javac -version is correct. It gives the compiler version of the JDK.
and Swings do support trees and tables.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic