Bug 57697 - asbundle installer can't find JDK
asbundle installer can't find JDK
Status: RESOLVED WONTFIX
Product: installer
Classification: Unclassified
Component: Tools bundle
4.x
PC Windows XP
: P3 (vote)
: 5.x
Assigned To: mslama
issues@installer
: RELNOTE
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-09 10:48 UTC by rblaine
Modified: 2005-09-05 10:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rblaine 2005-04-09 10:48:54 UTC
Downloaded the NetBeans + AS 8 bundle. Installaton fails to begin - an error
popup says "A suitable JVM could not be found. Please run the program again
using the option -is:javahome <JAVA HOME DIR>"

In the background is the InstallShield wizard, which says it is searching for
Java Virtual Machine. Clicking "OK" causes the installer to quit and give up.
This is the executable "sjsas_pe-8_1_2005Q1-nb-4_1-beta-bin-win.exe" and there
is no obvious way to give it a command line option.

Java is indeed installed on this machine - J2SE 5 is installed.

So there are at least two problems here:

1) The installer can't find the installed instance of java5
2) The installer asks the user to re-run with command line options, but this is
a windows machine and it is not immediately obvious what needs to be run with
what commands.
Comment 1 mslama 2005-04-11 12:56:34 UTC
Do you have JDK or JRE installer? JRE is not enough as installer looks for JDK
as it is required by IDE. (Even if installer can run on JRE.) It is the most
probable reason why JVM resolution fails.

To set command line paramater(s) you must run installer from command line. Start
console (cmd.exe). Go to dir where installer is located and write installer name
plus parameters.

You can start installer with parameter -is:log <log file> to get log from native
launcher with info about JVM resolution. On Windows JVM resolution should not
fail as it looks also in registry at  \HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java
Development Kit\1.5\JavaHome.
Comment 2 rblaine 2005-04-18 07:48:56 UTC
Yes I believe that is the problem. Will confirm.

In this case, I believe the installer should more explicitly state the problem.
It should print an error saying "You must install the JDK on this system in
order to proceed." and then exit.
Comment 3 mslama 2005-06-09 10:27:31 UTC
Unfortunately we cannot fix this as it is handled by InstallShield native
launcher. Anyway it should be emphasized in Installation Instructions or
Troubleshooting section.
Comment 4 mslama 2005-06-09 10:28:19 UTC
It applies to all our installers but jdkbundle which bundles its own JVM for run.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo