[Bluej-discuss] BlueJ-Editor crashes on MacOS X

Poul Henriksen p.henriksen at kent.ac.uk
Wed Oct 3 14:08:49 BST 2007


Hi Thomas

This only happens with the generic installer. It can be fixed by 
modifying the BlueJ start-up script 'bluej'. Add the path
/System/Library/Java
to the CP variable in the script.

Poul

Thomas Röfer wrote:
> Hi,
> 
> on MacOS X in our computer pool, BlueJ works fine until one tries to open
> the editor. Then, it immediately terminates. The bluej-debuglog.txt contains
> the following messages:
> 
> BlueJ run started: Mon Oct 01 11:11:12 CEST 2007
> BlueJ version 2.2.0
> Java version 1.5.0_07
> Virtual machine: Java HotSpot(TM) Client VM 1.5.0_07-87 ("Apple Computer,
> Inc.")
> Running on: Mac OS X 10.4.10 (i386)
> Java Home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
> ----
> Connected to debug VM via dt_socket transport...
> Communication with debug VM fully established.
> NSRuntime.loadLibrary(/usr/lib/java/libObjCJava.dylib) error.
> java.lang.UnsatisfiedLinkError: Native Library
> /usr/lib/java/libObjCJava.A.dylib already loaded in another classloader
> 	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1716)
> 	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
> 	at java.lang.Runtime.load0(Runtime.java:769)
> 	at java.lang.System.load(System.java:967)
> 	at
> com.apple.cocoa.foundation.NSRuntime.loadLibrary(NSRuntime.java:127)
> 	at com.apple.cocoa.foundation.NSRuntime.<clinit>(NSRuntime.java:35)
> 	at com.apple.cocoa.foundation.NSObject.<clinit>(NSObject.java:27)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:242)
> 	at bluej.utility.Utility.bringToFront(Utility.java:356)
> 	at bluej.editor.moe.MoeEditor.setVisible(MoeEditor.java:341)
> 	at bluej.pkgmgr.target.EditableTarget.open(EditableTarget.java:60)
> 	at
> bluej.pkgmgr.target.ClassTarget.doubleClick(ClassTarget.java:1459)
> 	at bluej.graph.SelectionSet$1.run(SelectionSet.java:89)
> 	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
> 	at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
> va:269)
> 	at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
> :190)
> 	at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
> 	at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
> 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> 
> I must say that the BlueJ version used is the generic one (the jar
> installer), because we use the same installation for Linux (where it works
> fine).
> 
> Any ideas?
> 
> Best regards
> 
> Thomas Röfer
> 
> _______________________________________________________________________
> Dr. Thomas Röfer                   Office Address:
> DFKI-Lab Bremen                    Universität Bremen
> Safe and Secure Cognitive Systems  Cartesium 02.054
> Robert-Hooke-Str. 5                Enrique-Schmidt-Str. 5
> 28359 Bremen, Germany              28359 Bremen, Germany
> http://www.dfki.de                 www.informatik.uni-bremen.de/~roefer
> 
> Phone: +49 (421) 218-64200
> Fax:   +49 (421) 218-9864200
> eMail: Thomas.Roefer at dfki.de
> _______________________________________________________________
> Deutsches Forschungszentrum für Künstliche Intelligenz GmbH
> Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
> 
> Geschäftsführung:
> Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
> Dr. Walter Olthoff
> 
> Vorsitzender des Aufsichtsrats:
> Prof. Dr. h.c. Hans A. Aukes
> 
> Amtsgericht Kaiserslautern, HRB 2313
> 
> 
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss



More information about the bluej-discuss mailing list