This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "LINUX & JAVA" Watch "LINUX & JAVA" New topic
Author

LINUX & JAVA

dubey vandana
Greenhorn

Joined: Nov 22, 2001
Posts: 14
hi,
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...
rasap
thanx
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.
 
wood burning stoves
 
subject: LINUX & JAVA
 
Similar Threads
ajax and java
Java in Linux and Windows
Testing on Linux and Solaris
This Weeks Giveaway
Installing J2ME tools and SDK on Linux Platform