NetBSD-Java archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: JDK/JRE 6 on NetBSD 3.0.2 ... should this work



On Mon, Jan 26, 2009 at 11:48 PM, Paul Newhouse 
<newhouse%rockhead.com@localhost> wrote:
> I'm running:
>
>  NetBSD bigbox 3.1 NetBSD 3.1 (BIGBOX) #0: Sat Sep 29 15:19:20 PDT 2007  
> root@mailsrv:/usr/src/sys/arch/i386/compile/BIGBOX i386
>
> I built sun-jdk6 and sun-jre6 from the 2008Q4 pkgsrc.  They seem to build and 
> install without
> any complaints.  I can't get them t execute.  I get the following error:
>
>  #: /usr/pkg/java/sun-6/bin/java
>
>  /usr/pkg/java/sun-6/bin/java: error while loading shared libraries: 
> libjli.so: cannot open shared object file: No such file or directory
>
> Where am I going wrong?
>
> I hope none of these are conflicting?
>
> kaffe-1.1.7nb3      Virtual machine capable of running Java(tm) code
> jikes-1.22nb3       Java source to byte-code compiler
> fastjar-0.93nb3     C language version of the 'jar' archiver normally used by 
> Java
> sun-jre6-6.0.5nb1   Sun's Java(tm) 2 Standard Edition, Java Runtime 
> Environment (JRE) 6u5
> sun-jdk6-6.0.5nb1   Sun's Java(tm) 2 Standard Edition, JDK 6u5
> netbeans-ide-3.5.1nb2 NetBeans Java IDE
> java-vm-spec-2.0    The Java(TM) Virtual Machine Specification (HTML)
> java-lang-spec-2.0nb2 The Java(TM) Language Specification (HTML)
>
> TIA,
> Paul
>
> P.S. - NetBeans wants JDK_HOME to be set to something?
>

Can you run ldd on the java binary and see what it says?  Also, does
that file exist on your system?  If so, can you just add it to your
LD_LIBRARY_PATH before calling java?


Home | Main Index | Thread Index | Old Index