File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes LINUX & JAVA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "LINUX & JAVA" Watch "LINUX & JAVA" New topic


dubey vandana

Joined: Nov 22, 2001
Posts: 14
can anyone plz suggest how to run codes written in java which involve packages to run on linux platform?
do i have to modify my code according to Machines? but i dont think that it will be then correct to say anything about java's platform indepenedence...
Michael Szul
Ranch Hand

Joined: Sep 18, 2001
Posts: 57
I don't quite get what your trying to say.
As long as you have the Linux version of the SDK you can compile and run the Java like you normally would on the command line with javac and java.
Or for jar packages you would say java -jar *.jar as long as Main-Class is specified in the jar manifest.
I agree. Here's the link:
subject: LINUX & JAVA
It's not a secret anymore!