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 214191 - JDK not found error on installer - Windows
Summary: JDK not found error on installer - Windows
Status: RESOLVED INCOMPLETE
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-14 10:46 UTC by jaska_tl
Modified: 2012-06-14 11:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Error message (18.17 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-06-14 10:46 UTC, jaska_tl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jaska_tl 2012-06-14 10:46:23 UTC
Created attachment 120826 [details]
Error message

I just noticed error while installing on new build of Netbeans (netbeans-trunk-nightly-201206140001-ml-windows.exe)
Error message on attacment.
When I tried yesterday install new version, I got also error, then “Installer is corrupt…” so second day in the row that this isn’t working.
I have java installed on my computer, at time I’m using jdk1.6.0_30 version, and java is working well from command prompt on machine. Java jdk isn’t installed to default location (in my case all jdk:s are under java folder at c:\java….). Also I run many different jdk:s on my machine, so all java includes are removed from system32 folder, and java version is changed by changing JAVA_HOME at system settings.

After that I run in command prompt java -versio and PATH commands to check that everything is allright. After that restarting intaller worked right. This might be some temporary file issue after yesterdays trying to install -2012061301- version, where I got that installer error.
Comment 1 Ondrej Vrabec 2012-06-14 11:00:42 UTC
From the attachment it's clear that installer cannot find a usable JDK on your machine. If you install Java into a specific folder, start the installer with --javahome "PATH_TO_THE_INSTALLATION".
If you think the installer should find the installation even without this switch then attach the install log (HOME\.nbi\logs\{latest}.log) and we can take a closer look.