DragonFly BSD
DragonFly bugs List (threaded) for 2004-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Native JDK on Dragonfly

From: "Martin P. Hellwig" <mhellwig@xxxxxxxxx>
Date: Sun, 01 Aug 2004 22:54:59 +0200

Andrew Houghton wrote:
This will probably have to be reported on the freebsd-java lists, and God only knows if Alexey will want to deal with what looks to be a Dfly-specific problem, but I thought I'd start here. :)

I built the native JDK from source. The build went fine, install went fine. The compiler and JVM work fine, debugging using IntelliJ IDEA (an all-java IDE) works fine. The plugin works fine in firefox, once I added the link.

Java Web Start, however, doesn't work. When I try to start it I get:

  Java Web Start splash screen process exiting .....
  Bad installation. No JRE found in configuration file: No such file
  or directory

Now, I watched the process with truss, and I guarantee that the directory and files it's looking for exist -- it creates them itself, in the home directory of the user (if anyone else is following along at home, it first checks in /etc and falls back to your home directory).

I traced this message down to line 243 of /deploy/src/javaws/src/share/native/launcher.c; the helpful comment on line 242 says "This should never happen."

I'm at a loss as to how to proceed; the closest bug report I found was from Evan Easton:


using his script I was able to get javaws to start, but i still can't get any of the demo apps to actually run.

So -- anyone using javaws with a native JDK? I suppose I should check to see whether any of the native patches make assumptions about *BSD defines..

- a.

I solved the problem at my side by adapting the file:
change FreeBSD to DragonFly :-)
Don't need to be shy about your OS, be proud, then it works! ;-)


$ /usr/local/etc/rc.d/bikeshed.sh
$ Usage, mix UNIX with: {politics|religion|both(=GNU/Linux)}

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