This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 206882 - Netbeans fails to start when using OpenJDK 7 on FreeBSD 8.2
Summary: Netbeans fails to start when using OpenJDK 7 on FreeBSD 8.2
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 7.1
Hardware: PC Unix
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2012-01-03 20:35 UTC by ddaley
Modified: 2012-04-11 07:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ddaley 2012-01-03 20:35:09 UTC
Product Version = NetBeans IDE 7.1 Beta (Build 201109252201)
Operating System = FreeBSD version 8.2-STABLE running on i386
Java; VM; Vendor = 1.7.0
Runtime = OpenJDK Client VM 21.0-b17

When running Netbeans 7.1 beta on FreeBSD 8.2 with OpenJDK 7, there is an error during startup.  "undefined symbol jpeg_resync_to_restart" in libsplashscreen.so.  Netbeans will fail to start because of this.

I have worked around the issue for now by creating a sym link from /usr/local/openjdk6/jre/lib/i386/libsplashscreen.so to /usr/local/openjdk7/jre/lib/i386/libsplashscreen.so
Comment 1 Jiri Rechtacek 2012-02-16 16:57:23 UTC
Assigned to new owner.
Comment 2 dnelson 2012-02-23 18:00:23 UTC
Another workaround is to run netbeans with the --nosplash option.  I think this is really a bug in the FreeBSD OpenJDK7 port, though, since the unresolved symbol is in a java shared library.  Probably caused by the same thing that caused FreeBSD PR java/119654 (wrong header files being included when building that module).
Comment 3 Vans 2012-03-01 09:02:43 UTC
I confirm this using java/diablo-jdk16/ and java/jdk16/. Netbeans starts two or three times, but then refuses with that error.
I use old workaround with LD_PRELOAD: env LD_PRELOAD=/usr/local/lib/libjpeg.so netbeans-7.1 and this works.
Comment 4 Jiri Rechtacek 2012-04-11 07:17:08 UTC
IMHO there is no place to fix on NetBeans side.