jEdit Community - Resources for users of the jEdit Text Editor
installing with FC4 x86_64
Submitted by Anonymous on Saturday, 16 April, 2005 - 22:57
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)
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
I've installed Java 1.5 x64 o
by Anonymous on Thu, 12/05/2005 - 18:08
I've installed Java 1.5 x64 on a Fedore Core 4 Test 2 x64 as well as jEdit. It did work well.

Best regards

Bruno
User login
Browse archives
« November 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300