This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
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
posted 14 years ago
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.