Re: [opensuse] Netbeans Issue
On Tuesday 16 January 2007 18:44, Daniel Peraza wrote:
kai@sith:~/apps/netbeans-5.5/bin> ./netbeans Cannot find java. Please use the --jdkhome switch.
I have had the same problem, usually after installing a JDK update through any YaST update mechanism.
Netbeans has a configuration file located into a directory called etc, within the folder where you installed it. If you look at it, you may see a configuration variable that points straight where you have installed your JDK, you need to locate your new JDK within the filesystem tree, and then make this variable points to that location by changing its value.
Wierd. I went ahead and followed your advice. Oddly enough, netbeans wasn't doing ANYTHING - no exception, nothing. It just wouldn't run. I then decided to "downgrade" Java using SMART from _10 to _07. No luck. Still got nothing. Since I was using an "unsupported" version of Netbeans (5.5) in my own folder structure and since I didn't need any of 5.5's features, I decided to install 5.0 from SMART. Oddly enough, that works. I now am back in business. Go figure. -- kai - theperfectreign@yahoo.com www.perfectreign.com || www.4thedadz.com www.filesite.org || www.donutmonster.com wo ist der ort für den ehrlichsten kuss ich weiss, dass ich ihn für uns finden muss... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
FYI: You can always get Netbeans bundled with a JVM and then point it to any version you'd like that way your browsers etc will work with what is on the OS, supported updated etc., and you will develop for what you want. If you are installing Netbeans it will ask for the location of the SDK not just the executable so /usr/bin/java is no good, this causes an issue when you upgrade your system will function because the upgrade links back to right place but the real sdk will now be in a completely different folder and there will be nothing in the old, which explains your issue. Let me know if you need more info on this. Regards. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 17 January 2007 08:22, George Stoianov wrote:
FYI: You can always get Netbeans bundled with a JVM and then point it to any version you'd like that way your browsers etc will work with what is on the OS, supported updated etc., and you will develop for what you want. If you are installing Netbeans it will ask for the location of the SDK not just the executable so /usr/bin/java is no good, this causes an issue when you upgrade your system will function because the upgrade links back to right place but the real sdk will now be in a completely different folder and there will be nothing in the old, which explains your issue.
Let me know if you need more info on this.
Ahh, hadn't thought about that. I downloaded nb 5.5 with jvm 6 and installed it under my account. I can now run NB 5.0 from the RPM and 5.5 as me. Thanks! -- kai - theperfectreign@yahoo.com www.perfectreign.com || www.4thedadz.com www.filesite.org || www.donutmonster.com friends don't let friends use windows -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
George Stoianov
-
Kai Ponte