jEdit Community - Resources for users of the jEdit Text Editor
Installing w/ JDK1.3
Submitted by Anonymous on Thursday, 10 February, 2005 - 05:56
I need to use JDK1.3 even though other JDK versions are also installed.

So this is what I tried:

  • in build.xml, I added target="1.1" and "source=1.3" to the compile target.
  • in build.xml, I commented out the jdk14 and jdk15 properties in the init target
So now everything builds, but running it yields an error:
/home/java/pc.i86.linux/blackdown-j2sdk.1.3.0/bin/java org.gjt.sp.jedit.jEdit                        
error] AWT-EventQueue-0: Exception occurred during event dispatching:
[error] AWT-EventQueue-0: java.lang.NoSuchMethodError
[error] AWT-EventQueue-0:  at org.gjt.sp.jedit.gui.TipOfTheDay.(TipOfTheDay.java:94)
[error] AWT-EventQueue-0:  at org.gjt.sp.jedit.jEdit.newView(jEdit.java:2200)
[error] AWT-EventQueue-0:  at org.gjt.sp.jedit.PerspectiveManager$PerspectiveHandler.endElement(PerspectiveManager.java:344)
[error] AWT-EventQueue-0:  at com.microstar.xml.XmlParser.parseETag(XmlParser.java:1041)
[error] AWT-EventQueue-0:  at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1112)
[error] AWT-EventQueue-0:  at com.microstar.xml.XmlParser.parseElement(XmlParser.java:947)
[error] AWT-EventQueue-0:  at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1118)
[error] AWT-EventQueue-0:  at com.microstar.xml.XmlParser.parseElement(XmlParser.java:947)
[error] AWT-EventQueue-0:  at com.microstar.xml.XmlParser.parseDocument(XmlParser.java:496)
[error] AWT-EventQueue-0:  at com.microstar.xml.XmlParser.doParse(XmlParser.java:176)
[error] AWT-EventQueue-0:  at com.microstar.xml.XmlParser.parse(XmlParser.java:146)
[error] AWT-EventQueue-0:  at org.gjt.sp.jedit.PerspectiveManager.loadPerspective(PerspectiveManager.java:81)
[error] AWT-EventQueue-0:  at org.gjt.sp.jedit.jEdit$5.run(jEdit.java:3450)
[error] AWT-EventQueue-0:  at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
[error] AWT-EventQueue-0:  at java.awt.EventQueue.dispatchEvent(EventQueue.java:331)
[error] AWT-EventQueue-0:  at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
[error] AWT-EventQueue-0:  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
[error] AWT-EventQueue-0:  at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
                                                                                             
Even though a window comes up, I can't type anything.

Any help would be appreciated.

P.S. I need to use JDK1.3 since it supports green threads. Basically, I would like to try running JEdit under the "Stabilizer". See: http://stabilizer.sf.net.

Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Re: Installing w/ JDK1.3
by Anonymous on Thu, 10/02/2005 - 23:09
I tried using the javac fork option by adding these lines to build.xml:
fork="yes"
executable="/home/java/pc.i86.linux/blackdown-j2sdk.1.3.0/bin/javac"
However, now I get this error:
Buildfile: build.xml

BUILD FAILED
java.lang.IllegalAccessError: try to access method [Ljava.lang.String;.clone()Ljava/lang/Object; from class org.apache.xerces.impl.XMLEntityManager
        at org.apache.xerces.impl.XMLEntityManager.getRecognizedFeatures(XMLEntityManager.java:1313)
        at org.apache.xerces.parsers.XML11Configuration.addRecognizedParamsAndSetDefaults(XML11Configuration.java:1455)
        at org.apache.xerces.parsers.XML11Configuration.addCommonComponent(XML11Configuration.java:1421)
        at org.apache.xerces.parsers.XML11Configuration.(XML11Configuration.java:536)
        at org.apache.xerces.parsers.XML11Configuration.(XML11Configuration.java:406)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at org.apache.xerces.parsers.ObjectFactory.newInstance(ObjectFactory.java:349)
        at org.apache.xerces.parsers.ObjectFactory.findJarServiceProvider(ObjectFactory.java:493)
        at org.apache.xerces.parsers.ObjectFactory.createObject(ObjectFactory.java:254)
        at org.apache.xerces.parsers.ObjectFactory.createObject(ObjectFactory.java:131)
        at org.apache.xerces.parsers.SAXParser.(SAXParser.java:139)
        at org.apache.xerces.parsers.SAXParser.(SAXParser.java:124)
        at org.apache.xerces.jaxp.SAXParserImpl.(SAXParserImpl.java:98)
        at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:95)
        at org.apache.tools.ant.util.JAXPUtils.newSAXParser(JAXPUtils.java:206)
        at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:164)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:186)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:133)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:89)
        at org.apache.tools.ant.Main.runBuild(Main.java:617)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)

Total time: 0 seconds
java.lang.IllegalAccessError: try to access method [Ljava.lang.String;.clone()Ljava/lang/Object; from class org.apache.xerces.impl.XMLEntityManager
        at org.apache.xerces.impl.XMLEntityManager.getRecognizedFeatures(XMLEntityManager.java:1313)
        at org.apache.xerces.parsers.XML11Configuration.addRecognizedParamsAndSetDefaults(XML11Configuration.java:1455)
        at org.apache.xerces.parsers.XML11Configuration.addCommonComponent(XML11Configuration.java:1421)
        at org.apache.xerces.parsers.XML11Configuration.(XML11Configuration.java:536)
        at org.apache.xerces.parsers.XML11Configuration.(XML11Configuration.java:406)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at org.apache.xerces.parsers.ObjectFactory.newInstance(ObjectFactory.java:349)
        at org.apache.xerces.parsers.ObjectFactory.findJarServiceProvider(ObjectFactory.java:493)
        at org.apache.xerces.parsers.ObjectFactory.createObject(ObjectFactory.java:254)
        at org.apache.xerces.parsers.ObjectFactory.createObject(ObjectFactory.java:131)
        at org.apache.xerces.parsers.SAXParser.(SAXParser.java:139)
        at org.apache.xerces.parsers.SAXParser.(SAXParser.java:124)
        at org.apache.xerces.jaxp.SAXParserImpl.(SAXParserImpl.java:98)
        at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:95)
        at org.apache.tools.ant.util.JAXPUtils.newSAXParser(JAXPUtils.java:206)
        at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:164)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:186)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:133)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:89)
        at org.apache.tools.ant.Main.runBuild(Main.java:617)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
try to access method [Ljava.lang.String;.clone()Ljava/lang/Object; from class org.apache.xerces.impl.XMLEntityManager
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