Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 29th July 2008
incripshin incripshin is offline
New User
Join Date: Jul 2008
Posts: 5
Default Problems running jdk-1.7

I just installed jdk-1.7, but it doesn't quite work. I have /usr/local/jdk-1.7.0/bin in my PATH. When I run java or javac, I get this:

$ javac
Error: could not find libjava.so
Error: Could not find Java SE Runtime Environment.
If I give the full path to the binary, it runs fine. libjava.so is located in /usr/local/jdk-1.7.0/jre/lib/i386/libjava.so. I tried adding it to the arguments sent to ldconfig, but all that happens is this:

$ sudo ldconfig /usr/X11R6/lib /usr/local/lib /usr/local/jdk-1.7.0/jre/lib/i386
$ ldconfig -r | grep jdk
        search directories: /usr/lib:/usr/X11R6/lib:/usr/local/lib:/usr/local/jdk-1.7.0/jre/lib/i386
Anybody have better luck than me?

Last edited by incripshin; 29th July 2008 at 04:46 AM. Reason: /* way better title */
Reply With Quote

java, jdk

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running as a WPA-RADIUS AP? Sunnz OpenBSD Security 7 23rd September 2009 02:09 AM
Problem getting php running badguy OpenBSD General 7 22nd July 2009 03:34 PM
Running your own web server JMJ_coder General software and network 28 13th February 2009 01:15 AM
compiling and running perl/tk bsdnewbie999 Programming 4 10th August 2008 10:22 AM
Cron running but not working stukov Other BSD and UNIX/UNIX-like 26 24th July 2008 01:17 PM

All times are GMT. The time now is 07:51 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick