IntelliJ Java IDE
The moose likes Swing / AWT / SWT / JFace and the fly likes LINUX & JAVA Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply 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.
 
 
subject: LINUX & JAVA
 
Threads others viewed
ajax and java
Java in Linux and Windows
Installing J2ME tools and SDK on Linux Platform
This Weeks Giveaway
Testing on Linux and Solaris
Two Laptop Bag