Re: Problem running junit on Solaris 64 bit

2007-08-27 Thread cactuar
Thank you. I am still confused on why I can run my jar file fine with "java -jar" on a command line, but not with JUnit/Ant. Are there two kinds of VM here? The VM the Ant runs with and another VM that I run on command line?? Thank you for your help. -- View this message in context: http://

Re: Problem running junit on Solaris 64 bit

2007-08-27 Thread cactuar
Robert Clark-2 wrote: > > If you are running the JUnit tests inside of Ant, add the "-d64" option to > the ANT_OPTS env. variable before starting Ant. > I tried setting the ANT_OPTS env. variable in my environment like this; ANT_OPTS=-d64; export ANT_OPTS But it did not make a difference. Is

Problem running junit on Solaris 64 bit

2007-08-24 Thread cactuar
I am trying to run my JNI code using JUnit within Ant on Solaris 5.8. However, it fails to load my shared object and gives me this error message. Can't load Sparc v9 64-bit .so on a Sparc 32-bit platform I set the environment variables as following: JAVA_HOME = /local/apps/java/1.5.0-11-64/jdk1

How to run Java on HP

2007-08-22 Thread cactuar
I am running Java on HP platforms (PA-RISC and Itanium). The HP Support suggested me to add "-d64" option to the command line to run the 64-bit binaries. They said it is used to get past the heap size limitations. I could not get it to run without "-d64" option on our 64 bit environment. My com