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

Native JDK on Dragonfly


From: Andrew Houghton <aah@xxxxxxxxxxxxx>
Date: Thu, 29 Jul 2004 09:09:37 -0700

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:

http://lists.freebsd.org/mailman/htdig/freebsd-java/2003-December/001403.html

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.



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