| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I had this same problem. My solution was make netbeans run on 1.6 by setting this line in my netbeans.conf# Default location of JDK, can be overridden by using --jdkhome <dir>:netbeans_jdkhome=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/HomeOn Feb 18, 2008, at 4:50 AM, Francesco Russo wrote:_______________________________________________Hi everybody,
I would like to know if someone else is having troubles with NetBeans 6.0(.1) after having installed JSE 6 DP 9 on Leopard.
Better stated, it seems to me that since that upgrade I cannot create anymore any Java class/interface/enum from within the IDE. The effect of such an action is an error that reports
"Bad version number in .class file" at the top of the stack-trace.Unlikely at the moment I have not the full stack-trace, but maybe in subsequent messages I am going to post it as well.
Looking at the message it seems like the IDE was trying to load a Java 6 compiled class using a JVM 5 runtime. This sounds me possible since the IDE was do running with Java 5 as its runtime, and all my projects were using Java 6 as their default JDK.
So I changed all my projects settings moving everything back to Java 5, but the problem did not disappear.
Is anyone else experiencing something similar? Is it possible to remove the JSE 6 DP 9 to see if the problem is actually there?
Thank you very much in advance,
Francesco
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden This email sent to email@hidden
| References: | |
| >Troubles with NetBeans 6 and JSE 6 DP 9 on Leopard (From: "Francesco Russo" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.