0

I've got Java 1.7.0u25 installed on my system, but according to the About dialogue, Netbeans is running under 1.7.0u17. I'm having some minor but really annoying issues such as the delete key deleting 2 characters instead of one and I'm told that if Netbeans is running under the latest VM they should be resolved.

How do I force Netbeans to run under the latest VM installed on my system?

I tried googling for a solution but all I could find was articles about getting Netbeans to compile for particular JVMs.

I'm running Netbeans 7.3 fully updated on OSX Lion with Oracle's JVM.

1
  • What version of Netbeans? Have you made sure you removed 7.0u17, on Windows, old versions are kept around for some odd reason even after newer update are instaled.
    – Ramhound
    Commented Jul 31, 2013 at 11:14

2 Answers 2

1

One option is to use the --jdkhome <path> option when starting NetBeans. <path> is the root of the JDK installation.

Or locate netbeans.conf and change the following according to your JDK location:

netbeans_jdkhome="<path>"
1

Old thread, but maybe helpful (because I just ran across that due to the delete key bug):

Did you also update your JDK? Updating the Java VM that is used for Applets running in your Web browser and updating Netbeans itself (at least on my Mac) do not automatically update the JDK. Check for the newest SDK on Oracles Website. For me, it helped to download and install it - then Netbeans automatically used the new VM.

1
  • Will give that a try when I get home.
    – GordonM
    Commented Nov 18, 2013 at 9:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .