Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2514

Re: Netbeans question?

From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.help
Subject Re: Netbeans question?
Date 2013-02-20 22:15 -0500
Organization A noiseless patient Spider
Message-ID <kg43el$s2m$1@dont-email.me> (permalink)
References <kg3p9h$ghm$1@dont-email.me>

Show all headers | View raw


On 2/20/2013 7:22 PM, Knute Johnson wrote:
> I'm trying to learn how to use Netbeans but that isn't really my
> question.  When I start it I get a dialog that says "Invalid jdkhome",
> "Cannot locate Java installation", "C:/...1.7.0_10", "Do you want to try
> to use the default version?"  If I press the NO button it just quits, if
> I press the Yes button it starts and works normally.  I can't find any
> place in the program to change the "jdkhome".  It finds the current
> 1.7.0_15 installation without any difficulty.  Anybody know how to reset
> this?

     I've seen this after installing a JDK update when NetBeans
is already present.  (Guess: The NetBeans installer sniffs out
an existing JDK, but the JDK installer doesn't detect and update
an existing NetBeans.) What works for me is to edit the file

	C:\Program Files\NetBeans<version>\etc\netbeans.conf

... and change the "netbeans_jdkhome=" line to point to my
updated JDK.

     (Um, er, you *do* have a JDK installed, right?)

-- 
Eric Sosman
esosman@comcast-dot-net.invalid

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Netbeans question? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2013-02-20 16:22 -0800
  Re: Netbeans question? "John B. Matthews" <nospam@nospam.invalid> - 2013-02-20 21:32 -0500
  Re: Netbeans question? Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-02-20 22:15 -0500
    Re: Netbeans question? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2013-02-20 19:25 -0800
      Re: Netbeans question? Roedy Green <see_website@mindprod.com.invalid> - 2013-02-20 22:25 -0800
        Re: Netbeans question? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2013-02-21 07:45 -0800
          Re: Netbeans question? Roedy Green <see_website@mindprod.com.invalid> - 2013-02-21 15:24 -0800
          Re: Netbeans question? Lew <lewbloch@gmail.com> - 2013-02-21 18:34 -0800
            Re: Netbeans question? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2013-02-22 14:31 -0800
              Re: Netbeans question? Lew <lewbloch@gmail.com> - 2013-02-22 15:25 -0800
                Re: Netbeans question? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2013-02-22 15:34 -0800
                Re: Netbeans question? Lew <lewbloch@gmail.com> - 2013-02-22 18:55 -0800
    Re: Netbeans question? Lew <lewbloch@gmail.com> - 2013-02-20 22:53 -0800
      Re: Netbeans question? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2013-02-21 07:50 -0800

csiph-web