Why my project is generating jar file 32 bit if my system is 64 bit?

I have a little issue here. I’m generating jar files using ANT, in my system when I type in CMD java -version, I receive this message:

java version "1.6.0_45" Java(TM) SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode) 

But when I generate my jar file, it’s generating in 32 bits. I don’t know why is generating a file in 32 bits, because I have installed in my system java 64 bits.

I want to fix this, because when I use a jar file 32 bits in a system using 64 bits, I have a limitation about JVM memory, and I need more memory to make somethings work good.

I’m using this project

It’s a project repository open source from here

But in google drive file, have a folder with ANT to build the project. So I’m using ANT, what I’m doing to test is this:

Opening folder trunk/AL-game/build_gameserver.bat and then, when I open my task manager I see java binary file using 32 bits in the process.

I tried a lot of things, but nothings happen, still building in 32 bits, but my system is 64 bits, doesn’t sense for me.

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.