You'll find jpackage useful for switching to Sun Java from Gnu Java on FC5. this is at http://jpackage.org and look for Sun compatibility package.
There is a good page explaining the process in detail at: http://ccl.net/cca/software/SOURCES/JAVA/JSDK-1.5/index.shtml Philip Nye Engineering Arts Hussein Shafie wrote: > 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 >

