Question : Java Compile

Hi,

We are making java aplication in Windows. It's a java console application.

We are compiling it using Eclipse in Windows.

And now we want to use that java console application in Linux.

Should we recompile the source code using Eclipse in Linux?

Or it's not necessary?

Please advise. Thanks.

Answer : Java Compile

Its not necessary to compile the source code again once it is compiled.
Since java is a platform independent language, same class files will run as it is on any other OS/platform as it runs on where it is compiled
Random Solutions  
 
programming4us programming4us