![]() |
|
|||||||
| Install Support Have trouble installing World Wind? Post here. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jul 2012
Posts: 5
![]() |
Hello,
I receive the following exception when attempting to run the HelloWorldWind.java file in the package gov.nasa.worldwindx.examples Code:
Exception in thread "main" java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V at gov.nasa.worldwind.util.WWXML.createDocumentBuilder(WWXML.java:60) at gov.nasa.worldwind.util.WWXML.openDocumentStream(WWXML.java:235) at gov.nasa.worldwind.util.WWXML.openDocumentStream(WWXML.java:222) at gov.nasa.worldwind.util.WWXML.openDocumentFile(WWXML.java:174) at gov.nasa.worldwind.util.WWXML.openDocument(WWXML.java:147) at gov.nasa.worldwind.Configuration.loadConfigDoc(Configuration.java:131) at gov.nasa.worldwind.Configuration.<init>(Configuration.java:108) at gov.nasa.worldwind.Configuration.<clinit>(Configuration.java:76) at gov.nasa.worldwindx.examples.HelloWorldWind.main(HelloWorldWind.java:38) JDK point release 1.7.0_05 JRE7 I have checked the following posts: http://forum.worldwindcentral.com/sh...hlight=eclipse http://forum.worldwindcentral.com/sh...ad.php?t=32656 ( I don't want to switch to netbeans ) Thanks for your help in advance: M |
|
|
|
|
|
#2 | |
|
Junior Member
Join Date: Jul 2012
Posts: 5
![]() |
After a few days of chasing this I have some updates to do. I live in Scotland and the sun is out, so I'm going to have fun instead.
I believe I might have a problem with an incorrect version of jogl for my 64 bit machine that when upgraded to jogl-1.1.0-windows-amd64 throws invalid type errors in the TextRenderer due to the change: Quote:
Any help would be appreciated. Thank you, M Last edited by mharris888; 07-21-2012 at 09:56 AM. |
|
|
|
|
|
|
#3 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,622
![]() |
Welcome to the forum.
You need to use the "Search" function more. What is required, where to download the 64bit jogl, 64bit java, etc. has been covered several times. I went back to 32bit as the apps can be run on 32bit and 64bit computers. Other than a bigger heap space, which you shouldn't need if your code is optimized, what advantage is there to 64bit? Some prefer nb but I do not. |
|
|
|
|
|
#4 |
|
WW Dev. Team
Join Date: Sep 2010
Location: Boston, MA, USA
Posts: 325
![]() |
You need JOGL 1.1.1. You can get it here: http://worldwind.arc.nasa.gov/java/jogl/webstart/
If you're on Windows 64, download jogl.jar, jogl-natives-windows-amd64.jar, and gluegen-rt-natives-windows-amd64.jar. |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jul 2012
Posts: 5
![]() |
Thank you for the posts. There were a few errors when importing into Eclipse when solely following the worldwind wiki page. http://www.worldwindcentral.com/wiki/WWJava_in_Eclipse
I do not know if it was a change with Eclipse or a change with the way that WWJ is packaged that has caused it; however I will be happy to write up the steps I went through to install the 64 bit version if you think it is necessary? |
|
|
|
|
|
#6 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,622
![]() |
When I tried 64 bit is all that was required was the 64bit java and the 64bit jogl files to run. In Eclipse I just set the path to those.
If your steps include more than that a write up would help others. Good you got it sorted out and letting others know. |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Jul 2012
Posts: 5
![]() |
On import I received the AbstractMethodError detailed above until I had removed all but the following jars from the class path under Properties>Java Build Path.
gdal.jar gluegen-rt-natives-windows-amd64.jar gluegen-rt.jar jogl-natives-windows-amd64.jar jogl.jar junit.jar plugin.jar After using jogl1.1.1 it works fine. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is possible to use World Win SDK with Eclipse RCP? | moleyharey | Development Help | 1 | 06-30-2010 03:47 AM |
| How to set breakpoints and debug WWJ in Eclipse? | xuqingxin | Development Help | 4 | 03-02-2010 11:32 PM |
| Gray Screen with WWJ in Eclipse | nlneilson | Development Help | 0 | 11-27-2009 02:14 AM |
| Eclipse RCP - NoClassDefFound when attempting to use 3rd party plug-in | markb_1984 | Development Help | 1 | 03-10-2009 09:42 AM |
| World Wind as Eclipse plugin | Unregistered | Development Help | 24 | 03-07-2008 07:57 AM |