This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 122400 - Bad string for path to JDK folder
Summary: Bad string for path to JDK folder
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: JDK bundle (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-20 15:09 UTC by Rashid Urusov
Modified: 2014-02-10 14:15 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rashid Urusov 2007-11-20 15:13:20 UTC
While choosing JDK on panel :
"Choose the installation folder and JDK™ for the NetBeans IDE"
after click on browse button and after click OK button in apeared window
for choosing JDK  in installer panel appears following line:
C:\Program Files\Java
and warning in bottom of panel : "The specified JDK folder C:\Program Files\Java does not contain JDK.
Comment 1 dlipin 2007-11-20 17:55:11 UTC
When JFileChooser is opened, this folder (C:\Program Files\Java) is selected as the current folder and it is also typed 
in "File Name:" field (this is the default file chooser behavior)

When you close the browse dialog with clicking OK this location (C:\Program Files\Java) is set as the JDK location - 
and the message is correct since there is no JDK there.

So I don`t see any issue here.
Comment 2 Rashid Urusov 2007-11-21 10:33:16 UTC
It would be better if behaviour of "Browse" will be similar to this one on the previous  panel " Choose the installation
folder for JDK " e.g. if was not changes in path for JDK in JFileChooser - the value of JDK path should remain by default.
Comment 3 dlipin 2007-11-26 18:32:33 UTC
Since "it would be better.." then it is the enhancement.:)

CC-ing Jano.
Comment 4 jrojcek 2007-11-27 11:04:13 UTC
Is the request the following statement?... The initial value for JDK folder in NetBeans installation panel should be the same as the specified _installation_ 
folder for JDK in the JDK installation panel. I would agree with that.

If it's something else, can you please clarify?
Comment 5 Jiri Rechtacek 2012-10-07 12:58:50 UTC
Assigned to new owner.