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

Peter Tribble peter.tribble at gmail.com
Wed Sep 27 07:57:22 UTC 2017


On Wed, Sep 27, 2017 at 8:10 AM, Stephan Budach <stephan.budach at jvm.de>
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
>

Should work, but you'll need the old C++ runtime installed.

pkg install system/library/c++/sunpro

(as found by, eg, 'pkg search libCrun.so.1')

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/


More information about the openindiana-discuss mailing list