Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JAVAC vs JAVA for 32/64 bit

807588Aug 13 2008 — edited Jan 20 2009
I want to produce Java application for 64 bit architecture.

What I am not sure, is do I need to compile it with javac for 64 bit or do I just need to change JVM option of java ?

In other word, the compilation is not a problem (the byte code is always the same) and it is at run time, depending if I have a 32 or 64 bit architecture, that I change the option ?

Thanks for your answer !
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 17 2009
Added on Aug 13 2008
7 comments
3,298 views