0 Replies Latest reply: Jul 21, 2010 9:04 PM by 843851 RSS

    Java SE-Embedded ARMv5 - Error when trying to run JAVA (HPI library)

    843851
      Hi Everyone,

      I installed Java SE-embedded on my QNAP TS-209 (ARMv5), and I'm having a little issue running it once installed. When I ran java -version, to make sure it was working, I got this error message
      There was an error trying to initialize the HPI library.
      Could not create the Java virtual machine.
      I don't know anything about programming, but I get around on Linux, anyone has an idea what's happening?

      Below is the content of my Java directory, with a few commands to show the error in the context.

      and this is the version I installed

      Java SE for Embedded 6.0 Update 10 ARMv5 Linux (Build 42) - Headless, EABI, glibc 2.5, Soft Float, Little Endian
      ejre-1_6_0_10-fcs-b42-linux-armv5-sflt-eabi-headless-10_jun_2010.tar.gz

      thanks a lot,

      - K

      [/share/MD0_DATA/.qpkg/JRE/jre] # ls -al
      drwxr-xr-x    7 admin    administ     4096 Jul 16 17:08 ./
      drwxrw-rw-    3 admin    administ     4096 Jul 16 17:08 ../
      drwxr-xr-x    2 admin    administ     4096 May 14  2009 .systemPrefs/
      -rw-rw-r--    1 10       143          9343 Jun 10 11:23 EmbeddedCopyright.html
      -rw-rw-r--    1 10       143         10918 Jun 10 11:23 EmbeddedReadme_6.html
      -rw-rw-r--    1 10       143         15315 Jun 10 11:23 EmbeddedReleaseNotes_6.html
      drwxr-xr-x    2 10       143          4096 Jun  9 19:37 bin/
      drwxrwxr-x    2 10       143          4096 Jun 10 11:23 css/
      lrwxrwxrwx    1 admin    administ       29 Jul 16 17:08 jre -> /share/MD0_DATA/.qpkg/JRE/jre/
      drwxrwxr-x    2 10       143          4096 Jun 10 11:30 legal/
      drwxr-xr-x   12 10       143          4096 Jun  9 19:37 lib/
      [/share/MD0_DATA/.qpkg/JRE/jre] # which java
      /usr/local/jre/bin/java
      [/share/MD0_DATA/.qpkg/JRE/jre] # java -version
      There was an error trying to initialize the HPI library.
      Could not create the Java virtual machine.
      Edited by: kmonza on Jul 21, 2010 7:04 PM