64 bit ant.jar
I have installed 64 bit RHEL. I have the following questions regarding ant.jar for the system.
- I was unable to find a 64-bit JVM ant.jar construct from the apache website. Should I build it from source if I intend to run a jar on a 64-bit JVM?
- Will the build process get faster if I use the ant.jar construct with a 64-bit JVM and run it on a 64-bit JVM?
a source to share
You don't need a special 64-bit build of a pure Java application like Ant. ant.jar
will work the same on a 32 bit or 64 bit JVM.
The only cases where you definitely need to run a 64-bit version of a Java application are:
- when the application contains built-in code libraries; that is, the application is not pure Java, or
- when the Java application was compiled directly into native code; for example using
gcj
.
(It is possible that a poorly written application will be operating system dependent. For example, someone might hard-code the application to use OS-specific line separators or paths, or rely on OS-specific external commands. Chances are even that won't. application dependent on the OS memory model.)
a source to share
No, java bytecode is java bytecode, it doesn't matter if it was built with 32-bit or 64-bit JDK.
For the same reason, it doesn't matter what operating system it was built on. For example: a jar built with 32 bit JDK on 32 bit Microsoft Windows should work fine on 64 bit JRE on 64 bit RHEL.
a source to share