e-letter wrote:
> Readers,
> 
> Years ago I used xmlmind xml editor 35. Downloaded versio 461 and
> tried the following commands (all as root user):
> 
> /usr/local/java/java/jre/bin/java xxe
> Exception in thread "main" java.lang.NoClassDefFoundError: xxe
> Caused by: java.lang.ClassNotFoundException: xxe
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:423)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:346)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
> Could not find the main class: xxe.  Program will exit.

* I cannot reproduce this problem on my SuSE 11.1/Sun Java 1.6.0_21
Linux box.

* The Exception in thread "main" java.lang.NoClassDefFoundError: xxe is
correct because indeed there is no class named xxe. If you read
XXE_install_dir/bin/xxe, a simple shell script, you'll see that by yourself.


> 
> Also tried to create a symbolic link, editing the jedit link which is
> created during install. This should be provided with xxe by the way!
> 
> #!/bin/sh
> #
> # Originally jedit, adjusted for xxe
> #
> 
> # Set jvm heap initial and maximum sizes (in megabytes).
> JAVA_HEAP_MAX_SIZE=192
> 
> DEFAULT_JAVA_HOME="/usr/local/java/java/jre"
> if [ -z "$JAVA_HOME" ]; then
>       JAVA_HOME="$DEFAULT_JAVA_HOME"
> fi
> 
> # Launch application.
> 
> exec "$JAVA_HOME/bin/java" -Xmx{JAVA_HEAP_MAX_SIZE}M -jar
> "/usr/local/xxe/xxe/bin/xxe.jar" "$@"

* You seem to have forgotten a '$':

-Xmx${JAVA_HEAP_MAX_SIZE}M

* "java -jar xxe.jar" works, but is not the preferred/supported by us
way to start XXE.



> 
> I receive the command terminal error:
> 
> permission denied
> 
> Please advise.
> 
> Yours,
> 
> x...@conference.jabber.org
> xxe461
> ibmjava160
> mandriva2008
>  

* IBM's Java is definitely not supported by us. Only Sun/Oracle's and
Apple's are.

* Your problems come from your working environment:

[1] If "/bin/sh" is in fact "dash". Please uninstall "dash", a source of
countless problems, and instead use "bash".

[2] Please use Sun/Oracle's Java to run XXE.




 
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to