Bugs item #1178318, was opened at 2005-04-07 03:34
Message generated for change (Settings changed) made by migueljmol
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1178318&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Scripting
Group: v10.00
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Miguel (migueljmol)
Summary: Problem in Jmol on Fedora Core 3

Initial Comment:
when i try to run it i get the following error :
[EMAIL PROTECTED]
[1] 4991
[EMAIL PROTECTED]@298050
using Smarter Model Adapter
(C) 2004 The Jmol Development Team
Jmol Version 10.00  2004/12/17 18:55
java.vendor:Free Software Foundation, Inc.
java.version:3.4.3
os.name:Linux
uncaught exception: java.lang.NullPointerException
java.lang.NullPointerException
   at
org.openscience.jmol.app.PreferencesDialog.buildBondPanel()
(Unknown Source)
   at
org.openscience.jmol.app.PreferencesDialog.PreferencesDialog(javax.swing.JFrame,
org.openscience.jmol.app.GuiMap,
org.jmol.api.JmolViewer) (Unknown Source)
   at
org.openscience.jmol.app.Jmol.Jmol(org.openscience.jmol.app.Splash,
javax.swing.JFrame, org.openscience.jmol.app.Jmol, int,
int) (Unknown Source)
   at
org.openscience.jmol.app.Jmol.getJmol(javax.swing.JFrame,
int, int) (Unknown Source)
   at
org.openscience.jmol.app.Jmol.main(java.lang.String[])
(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
   at
org.openscience.jmol.app.Jmol.main(java.lang.String[])
(Unknown Source)

the applet is open and stuck,
the script i am ussing is :
#!/bin/sh

# Collect -D options as java arguments
command=gij
while [ `echo $1 | egrep '^-D' | wc -l` != 0 ]; do
        command="$command $1"
        shift
done

if [ -f ./Jmol.jar ] ; then
  jarpath=./Jmol.jar
elif [ -f $JMOL_HOME/Jmol.jar ] ; then
  jarpath=$JMOL_HOME/Jmol.jar
elif [ -f /usr/share/jmol/Jmol.jar ] ; then
  jarpath=/usr/share/jmol/Jmol.jar
else
  echo Jmol.jar not found
  exit
fi
$command -jar $jarpath $@

i use gij because java doesn't reconize '-jar' option.

----------------------------------------------------------------------

>Comment By: Miguel (migueljmol)
Date: 2005-06-02 22:52

Message:
Logged In: YES 
user_id=1050060

This is running gcj. 
gcj does not have a Swing implementation. 
The Jmol application requires Swing. 
Fedora Core 3 runs fine with Sun's Java. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1178318&group_id=23629


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to