Message3342
Jython.bat doesn't work when launched from Windows explorer:
Exception in thread "main" java.lang.NoClassDefFoundError:
Files\jython2/5a1+\jython/bat
Caused by: java.lang.ClassNotFoundException:
Files\jython2.5a1+\jython.bat
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Solution:
Change "-Dpython.executable="%~0" into "Jython.bat doesn't work when
launched from Windows explorer:
Exception in thread "main" java.lang.NoClassDefFoundError:
Files\jython2/5a1+\jython/bat
Caused by: java.lang.ClassNotFoundException:
Files\jython2.5a1+\jython.bat
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Solution:
Change '-Dpython.executable="%0"' into '-Dpython.executable="%~0"'
in generated Jython.bat |
|
Date |
User |
Action |
Args |
2008-07-17 07:56:24 | dergo | set | spambayes_score: 0.00214936 -> 0.0021493565 messageid: <1216281384.83.0.0925985746571.issue1076@psf.upfronthosting.co.za> |
2008-07-17 07:56:24 | dergo | set | spambayes_score: 0.00214936 -> 0.00214936 recipients:
+ dergo |
2008-07-17 07:56:24 | dergo | link | issue1076 messages |
2008-07-17 07:56:24 | dergo | create | |
|