Skip to Main Content

Java APIs

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 do you compile in the command prompt/terminal on all platforms?

843810Jun 26 2009 — edited Jun 26 2009
Hey, I'm trying to figure out how to compile these source files and a lib file on all platforms. So far all I have is how to compile it on a mac:
java -cp swing-layout-1.0.3.jar com.sun.tools.javac.Main Main.java MainScrean.java GCanvas.java
How do you compile that for windows and linux?

Thanks,
-Gan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 24 2009
Added on Jun 26 2009
5 comments
207 views