Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LINUX & JAVA

 
dubey vandana
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic