Hi, after copying the plugin to eclipse-dir I tried to access the astyle-preferences in Window->->Preference.
I get an error-msg:
"Unable to create the selected preference page. Reason: Plu-in net.sourceforge.astyleclipse was unable to load class net.sourceforge.astyleclipse.preferences.AstylePreferencePage."
Tried it with previous eclipse-V3.2 and
Both don's work.
My Java-version is
Regards and thanks
current java is
now it works fine
But with the astyleclipse-1.0.101.v200610192129.zip, it shall work with 1.4.x version under eclipse 3.2, can you give me your OS version ?
My testing platform is W2K+Jdk1.4.2_12b03.
Probably you forget to clean the old astyleclipse , try to remove all old astyleclipse and run eclipse -clean.
it's either w2k or xp,
your jdk is versions higher. This might be the problem.
I don't have it anymore 'cause using 1.5 now.
I am running into this problem as well. Whenever I try and bring up the Astyle preference page I get the "unable to load class net.sourceforge.astyleclipse.preferences.AstylePreferencePage" error message.
I am running Fedora Core Linux 6 which has:
- Eclipse version 3.20
- java -version:
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b19)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode)
I setup eclipse to use 'Software Update' to get the astyle eclipse plugin, which appears to have downloaded: Astyleclipse Feature 1.0.101.v200610192129
Do I need to have installed astyle separately before I can use the plugin?
Sorry, you have to use java 1.5 version, I struggle for a while, but still cannot make it work for jdk 1.4 now.
If you really need jdk1.4, i can put extra effort on it.
Well i have jre1.5.0_06 and Eclipse 3.2.1 on win xp with sp2.
And i'm having the same problem.
What is frustrating is that i can see the prefernce page if i create my own astyle plugin project and i debug it.
I have no Win XP env. nearby, help me to fix it if you can access the svn /larry
Log in to post a comment.