32bit Java on 64bit OS ???
#1
Hi All
Can I install 32 bit Jdk on 64 -bin Deoebian  OS ?
I try to install openhab2 b3 but  I have problem with Z-wave USB Stick ( I heard that is problem with serial devices in 64bit JDK )

I get 
Linux debianpine64 3.10.101-4-pine64-longsleep #51 SMP PREEMPT Thu May 26 18:20:37 CEST 2016 aarch64 GNU/Linux

Regards
  Reply
#2
(06-05-2016, 05:41 AM)tomekr Wrote: Hi All
Can I install 32 bit Jdk on 64 -bin Deoebian  OS ?
I try to install openhab2 b3 but  I have problem with Z-wave USB Stick ( I heard that is problem with serial devices in 64bit JDK )

I get 
Linux debianpine64 3.10.101-4-pine64-longsleep #51 SMP PREEMPT Thu May 26 18:20:37 CEST 2016 aarch64 GNU/Linux

Regards

Another reason to take the 32 bit Oracle JDK: It is way faster than the 64 bit Oracle JDK, see here:
Code:
   # install the 64 bit Oracle JDK
   sudo apt-get install oracle-java8-installer
   # enable multiarch
   sudo dpkg --add-architecture armhf
   # install any 32 bit package in order to get the 32 bit libc, shared library loader, ... ,e.g.:
   sudo apt-get install iperf:armhf
   # install the 32 bit Oracle JDK in parallel
   # download the armhf package (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
   sudo tar -C /usr/lib/jvm -xzvf <archive>
   cd /usr/lib/jvm
   sudo mv jdk1.8.0_91 jdk1.8.0_91.armhf
   sudo mv java-8-oracle jdk1.8.0_91.arm64 && sudo ln -s jdk1.8.0_91.armhf java-8-oracle

Cheers
Uli
  Reply
#3
FYI, the wiki now has images for openhab, running the 32-bit Oracle JVM.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)