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

Stephan Budach stephan.budach at jvm.de
Wed Sep 27 09:06:59 UTC 2017


----- Ursprüngliche Mail -----
> Von: "Peter Tribble" <peter.tribble at gmail.com>
> An: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>
> Gesendet: Mittwoch, 27. September 2017 09:57:22
> Betreff: Re: [OpenIndiana-discuss] Trying to run Java 1.7.0.11 on OpenIndiana Hipster 2017.04
> 
> 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/

Thanks Peter and Predrag,

I successfully installed openjdk.1.7.80 with runtime64 and the agent seems to run fine with it. I will have to check that and if if doesn't work properly, I'll take Peter's advice on installing the old C++ runtime and give it another shot using jre-1.7.0.11.

Thanks a lot,
Stephan


More information about the openindiana-discuss mailing list