Hi, Hussein. Thank you very much for the help. Indeed the xxe script tried to run the GNU java implementation instead of the SUN one. After editing the xxe script everything runs fine. Just a small idea - maybe it would be better if the xxe script would respect the value of an environment variable, e.g. JAVA_HOME and use it to locate the java executable. This way it would be possible to set the JRE for XXE without system-wide changes and without the need to edit the xxe script.
Regards, Vesselin Atanasov >---------------------------------- > >Vesselin Atanasov wrote: >> When I try to run xxe-std-3_3_0 on Fedora Core 5 I get the following error: >> >> internal error: cannot create application: >> com.xmlmind.xmledit.dialog.DiagnosticsPane: >> java.lang.Class.initializeClass(libgcj.so.7) >> java.lang.Class.initializeClass(libgcj.so.7) >> java.lang.Class.forName(libgcj.so.7) >> java.lang.Class.forName(libgcj.so.7) >> com.xmlmind.xmleditapp.kit.gui.PaneSpec.createPane(PaneSpec.java:81) >> com.xmlmind.xmleditapp.kit.gui.Panes.createPanes(Panes.java:179) >> com.xmlmind.xmleditapp.kit.gui.LayoutSpec.createRightPanes(LayoutSpec.java:284) >> com.xmlmind.xmleditapp.kit.gui.GUISpec.layout(GUISpec.java:689) >> com.xmlmind.xmleditapp.app.Application.loadGUI(Application.java:753) >> com.xmlmind.xmleditapp.app.Application.createGUI(Application.java:677) >> >> I have tried JRE 1.4.2 and 1.5.0 and get the same error. Did anyone else >> meet have problem? Any known solutions to this issue? >> > >"java.lang.Class.initializeClass(libgcj.so.7)" cleary shows that you are >*not* using a Java[tm] runtime coming from Sun (even if you have >installed it). > >Please install a Java[tm] runtime coming from Sun (latest 1.5 >recommended) and configure your system to use it by default (this is >really recommended for *all* Java applications). > >If you don't know how to do that (I don't know how to do it: I don't use >Fedora), then edit the XXE_install_dir/bin/xxe shell script using a text >editor and change > >--- >java $mem $opt \ > -DXXE_GUI="$XXE_GUI" \ > -DXXE_ADDON_PATH="$XXE_ADDON_PATH" \ > -classpath "$cp" \ > com.xmlmind.xmleditapp.start.Start "$@" >--- > >to: > >--- >wherever_you_have_installed_Sun's_Java/its_bin_dir/java $mem $opt \ > -DXXE_GUI="$XXE_GUI" \ > -DXXE_ADDON_PATH="$XXE_ADDON_PATH" \ > -classpath "$cp" \ > com.xmlmind.xmleditapp.start.Start "$@" >--- > >-- >XMLmind XML Editor Support List >xmleditor-support at xmlmind.com >http://www.xmlmind.com/mailman/listinfo/xmleditor-support > ----------------------------------------------------------------- http://ide.li/ - ?????? ?? ????????? ?? ?????. ??????, ??????, ??????, ??????, ??????????.

