[OpenIndiana-discuss] Trying to run Java 1.7.0.11 on OpenIndiana Hipster 2017.04

Predrag Zečević - Technical Support Analyst predrag.zecevic at 2e-systems.com
Wed Sep 27 07:22:21 UTC 2017


On 09/27/17 09:10, Stephan Budach wrote:
> Hi,
> 
> 
> I am trying to replace omniOS on a RSF-1 node with OI and I need to run some old Java agent on it which requires, Java 1.7.0.11, so I copied over the Java folder from the previous installation and tweaked the symlinks accordingly, but when running java -version, I am getting this error:
> 
> 
> 
> root at zfsha02gh79:/usr/bin# java -version
> Error: dl failure on line 864
> Error: failed /usr/java_1.7.0_11/jre/lib/i386/server/libjvm.so, because ld.so.1: java: fatal: libCrun.so.1: open failed: No such file or directory
> 
> 
> Can I get this version of Java running on OI?
> Thanks,
> Stephan
> 
> 

Hi Stephan,

you should install openjdk7 (example from my OI /hipster installation):
$ pkg list | grep openjdk | sort
developer/java/openjdk7                           1.7.80-2017.0.0.4 
     i--
developer/java/openjdk8                           1.8.131-2017.0.0.2 
     i--
runtime/java/openjdk7                             1.7.80-2017.0.0.4 
     i--
runtime/java/openjdk7/runtime64                   1.7.80-2017.0.0.4 
     i--
runtime/java/openjdk8                             1.8.131-2017.0.0.2 
     i--

Regards.

P.S: I do not think that coping libraries will work. Another option is 
to download Oracle JDK, install it somewhere and try
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
> 

-- 
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: predrag.zecevic at 2e-systems.com

headquarter: 2e Systems GmbH, Koenigsteiner Str. 87, 65812 Bad Soden am 
Taunus, Germany
registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas

http://www.2e-systems.com/ - Making your business fly!



More information about the openindiana-discuss mailing list