|
Author |
Topic: installation problem: NoSuchMethodError (Read 386 times) |
|
t.quick
|
installation problem: NoSuchMethodError
« on: Oct 30th, 2003, 5:10pm » |
|
I've just downloaded the expert version of build 67, and I'm trying to run it for the first time (Win2k). My JAVA_HOME env var is set correctly. Java version is 1.4.1. I get the following error when I call run-expert.bat: Exception in thread "main" java.lang.NoSuchMethodError at PdeEditor.<init>(PdeEditor.java:210) at PdeBase.<init>(PdeBase.java:345) at PdeBase.main(PdeBase.java:170) Any suggestions? Thanks, Tom
|
|
|
|
fry
|
Re: installation problem: NoSuchMethodError
« Reply #1 on: Oct 30th, 2003, 6:05pm » |
|
looks like the default java vm is a 1.3 runtime. open up a command prompt and type "java -version" to see what you get as the default. using the 'standard' release ought to fix this, whether you either 1) don't want to reinstall java 1.4, or 2) that running "java -version" claims that the 1.4 vm is the default.
|
|
|
|
t.quick
|
Re: installation problem: NoSuchMethodError
« Reply #2 on: Oct 30th, 2003, 7:42pm » |
|
Thanks Ben -- sorted. I just needed to update my PATH, prepending the 1.4 sdk 'bin' directory. Just a thought: you might consider modifying run-expert.bat to check if JAVA_HOME is set, and if so, calling '%JAVA_HOME%\bin\java', rather than just 'java'. I think this is quite common practice when developing java apps (at least, I've used it and seen it used for a number of java-based development projects). This approach makes it easy for different projects to select from one of a number of different installed java SDKs. The Apache jakarta projects use this idiom. See ant.bat for an example... Best wishes, Tom
|
|
|
|
|