installing with FC4 x86_64
Submitted by Saturday, 16 April, 2005 - 22:57
on
Hey,
I'm not having any luck installing or compiling jEdit with FC4 Test 1 (3.90) on amd x86_64. I tried the development and stable versions, but both had the same errors. I also tried installing the packages from JPackage, but I got the same errors.
I'm using:
java version 1.4.2
gij (GNU libgcj) version 4.0.0 20050405 (Red Hat 4.0.0-0.40)
When launching, I get:
[me@localhost Desktop]# java -jar jedit42install.jar
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib64/libgcj.so.6.0.0)
at java.awt.EventQueue.invokeLater(java.lang.Runnable) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.SwingUtilities.invokeLater(java.lang.Runnable) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.RepaintManager.addInvalidComponent(javax.swing.JComponent) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JComponent.revalidate() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JComponent.setOpaque(boolean) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JPanel.JPanel(java.awt.LayoutManager, boolean) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JRootPane.createGlassPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JRootPane.getGlassPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JRootPane.JRootPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.createRootPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.getRootPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.frameInit() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.JFrame() (/usr/lib64/libgcj.so.6.0.0)
at installer.SwingInstall.SwingInstall() (Unknown Source)
at installer.Install.main(java.lang.String[]) (Unknown Source)
at .main (/usr/lib64/libgij.so.6.0.0)
at .__libc_start_main (/lib64/libc-2.3.4.so)
Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit not found in gnu.gcj.runtime.SystemClassLoader{urls= [file:jedit42install.jar], parent=gnu.gcj.runtime.VMClassLoader{urls=[core:/], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib64/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib64/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib64/libgcj.so.6.0.0)
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib64/libgcj.so.6.0.0)
...17 more
When compiling, I get several errors. Here are a few:
[javac] Compiling 3 source files to /home/justin/Desktop/jEdit
[javac] ----------
[javac] 1. WARNING in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 29)
[javac] import javax.swing.text.html.*;
[javac] ^^^^^^^^^^^^^^^^^^^^^
[javac] The import javax.swing.text.html is never used
[javac] ----------
[javac] ----------
[javac] 2. WARNING in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 47)
[javac] public class HelpViewer extends JFrame implements EBComponent
[javac] ^^^^^^^^^^
[javac] The serializable class HelpViewer does not declare a static final serialVersionUID field of type long
[javac] ----------
[javac] ----------
[javac] 3. ERROR in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 370)
[javac] if(evt instanceof HTMLFrameHyperlinkEvent)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] HTMLFrameHyperlinkEvent cannot be resolved to a type
[javac] ----------
[javac] 4. ERROR in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 372)
[javac] ((HTMLDocument)viewer.getDocument())
[javac] ^^^^^^^^^^^^
[javac] HTMLDocument cannot be resolved to a type
[javac] ----------
[javac] 5. ERROR in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 374)
[javac] (HTMLFrameHyperlinkEvent)evt);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] HTMLFrameHyperlinkEvent cannot be resolved to a type
The list goes on... 8 errors, 40-some warnings. The src rpm from JPackage yielded similiar results.
Any ideas on how to get it working?
Thanks in advance!
Justin
(Tried to register on forum, but it didn't send me the email)
I'm not having any luck installing or compiling jEdit with FC4 Test 1 (3.90) on amd x86_64. I tried the development and stable versions, but both had the same errors. I also tried installing the packages from JPackage, but I got the same errors.
I'm using:
java version 1.4.2
gij (GNU libgcj) version 4.0.0 20050405 (Red Hat 4.0.0-0.40)
When launching, I get:
[me@localhost Desktop]# java -jar jedit42install.jar
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib64/libgcj.so.6.0.0)
at java.awt.EventQueue.invokeLater(java.lang.Runnable) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.SwingUtilities.invokeLater(java.lang.Runnable) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.RepaintManager.addInvalidComponent(javax.swing.JComponent) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JComponent.revalidate() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JComponent.setOpaque(boolean) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JPanel.JPanel(java.awt.LayoutManager, boolean) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JRootPane.createGlassPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JRootPane.getGlassPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JRootPane.JRootPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.createRootPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.getRootPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.frameInit() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.JFrame() (/usr/lib64/libgcj.so.6.0.0)
at installer.SwingInstall.SwingInstall() (Unknown Source)
at installer.Install.main(java.lang.String[]) (Unknown Source)
at .main (/usr/lib64/libgij.so.6.0.0)
at .__libc_start_main (/lib64/libc-2.3.4.so)
Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit not found in gnu.gcj.runtime.SystemClassLoader{urls= [file:jedit42install.jar], parent=gnu.gcj.runtime.VMClassLoader{urls=[core:/], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib64/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib64/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib64/libgcj.so.6.0.0)
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib64/libgcj.so.6.0.0)
...17 more
When compiling, I get several errors. Here are a few:
[javac] Compiling 3 source files to /home/justin/Desktop/jEdit
[javac] ----------
[javac] 1. WARNING in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 29)
[javac] import javax.swing.text.html.*;
[javac] ^^^^^^^^^^^^^^^^^^^^^
[javac] The import javax.swing.text.html is never used
[javac] ----------
[javac] ----------
[javac] 2. WARNING in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 47)
[javac] public class HelpViewer extends JFrame implements EBComponent
[javac] ^^^^^^^^^^
[javac] The serializable class HelpViewer does not declare a static final serialVersionUID field of type long
[javac] ----------
[javac] ----------
[javac] 3. ERROR in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 370)
[javac] if(evt instanceof HTMLFrameHyperlinkEvent)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] HTMLFrameHyperlinkEvent cannot be resolved to a type
[javac] ----------
[javac] 4. ERROR in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 372)
[javac] ((HTMLDocument)viewer.getDocument())
[javac] ^^^^^^^^^^^^
[javac] HTMLDocument cannot be resolved to a type
[javac] ----------
[javac] 5. ERROR in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 374)
[javac] (HTMLFrameHyperlinkEvent)evt);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] HTMLFrameHyperlinkEvent cannot be resolved to a type
The list goes on... 8 errors, 40-some warnings. The src rpm from JPackage yielded similiar results.
Any ideas on how to get it working?
Thanks in advance!
Justin
(Tried to register on forum, but it didn't send me the email)