Have the following difficulty when trying to select my UI mode preference as CONSOLE instead of the GUI options, SWING or SWT. SWING has worked but my PC is very slow (586) and has little memory (128MB). So I would love to use CONSOLE mode.
Screen dump is as follows:
----------------------------------
[
[email protected] jmule]# ./jmule.sh
java.lang.NullPointerException
at org.jmule.main.Launcher.<init>(Launcher.java:71)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.jmule.main.Main.main(Main.java:73)
[
[email protected] jmule]# cat /etc/.java/.systemPrefs/org/jmule/ui/prefs.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE map SYSTEM "http://java.sun.com/dtd/preferences.dtd">
<map MAP_XML_VERSION="1.0">
<entry key="ui_type" value="CONSOLE"/>
</map>
[
[email protected] jmule]#
[
[email protected] jmule]# cat jmule.sh
#!/bin/bash
/root/java_install/jre1.6.0_14/bin/java -Xmx128m -cp lib/swt-linux/swt.jar:lib/swingx-0.9.3.jar:jmule.jar:. org.jmule.main.Main
[
[email protected] jmule]#
------------end of screen dump----------
Can anyone suggest how I might hack to get CONSOLE mode working? I don't mind altering the source if need be.