Results 1 to 3 of 3
Hi all,
i am trying to make small linux system on CF card. Now i am installing the JRE-1.5.0_09 from Sun. I had a problem.
So first I install JDK ...
- 11-10-2006 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 30
error java
Hi all,
i am trying to make small linux system on CF card. Now i am installing the JRE-1.5.0_09 from Sun. I had a problem.
So first I install JDK on my host and JRE on my target, both with the same version. And i tried to make the "Hello World!" program as described on the Sun Java tutorial site. It works on my host.
But as I run it on my target there were problems, i even cant get the help menu:
anyone has experienced this? any suggestion for good reference building java in linux system?Code:# java There was an error trying to initialize the HPI library Please check your installation. Hotspot does not work correctly when installed in the JDK 1.2 Linux Production Release, or with any JDK 1.1.x release. Could not create the Java virtual machine.
thanks,
- 11-13-2006 #2Just Joined!
- Join Date
- Oct 2006
- Posts
- 30
Hi all,
I still stuck on these things. My Java cant be executed on my target system.
But on my host system (CF card mounted on /media/usbdisk)Code:# env SHELL /bin/bash TERM=vt100 USER=root PATH=/usr/sbin:/bin:/usr/sbin:/sbin:/usr/java/jre1.5.0_09/bin PWD=/root SHLVL=1 HOME=/root LOGNAME=root _=/usr/binenv # java -version There was an error trying to initialize the HPI library Please check out your installation. HotSpot does not work correctly when installed in the JDK 1.2 Linux Production Release, or with any JDK 1.1.x release. Could not create the Java virtual machine.
any clue? i have been searching for clues in the internet since tha last 3 days. Some saying configure the LD_LIBRARY_PATH in the order, and other tips, but doesnt work until now.Code:# pwd /media/usbdisk # usr/java/jre1.5.0_09/bin/java -version java version "1.5.0_09" Java(TM) 2 Runtime Environment, Standard Edition (nuild 1.5.0_09-b03) Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
Thank you very much for any tips
- 11-14-2006 #3Just Joined!
- Join Date
- Oct 2006
- Posts
- 30
Hi all,
I couldnt solved the problem with JRE package version 1.5.0_09, but then I tried with JRE package version 1.4.2_13 and it worked fine. dont know what was the problem with the newest version.


Reply With Quote