Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / May 2005

Tip: Looking for answers? Try searching our database.

I can't install Netbeans 4.0, I'm told my machine can not find a suitable JVM

Thread view: 
lkrubner@geocities.com - 30 Apr 2005 05:51 GMT
I downloaded jre-1_5_0_01-windows-i586-p.exe to make sure I had the
newest version of the JVM installed.

Then I downloaded Netbeans 4.0 and tried to install it. My machine runs
Windows XP.

I was told that I couldn't install it, because a suitable JVM could not
be found.

Any ideas what I should do?
mswope - 30 Apr 2005 06:37 GMT
>I downloaded jre-1_5_0_01-windows-i586-p.exe to make sure I had the
> newest version of the JVM installed.

Don't you have to have the JDK and its JVM to install NetBeans?
mas
mswope - 02 May 2005 20:25 GMT
>>I downloaded jre-1_5_0_01-windows-i586-p.exe to make sure I had the
>> newest version of the JVM installed.
>
> Don't you have to have the JDK and its JVM to install NetBeans?
> mas
Sorry if I'm being blind, but it looks like you're installing the Jave
Runtime Environment (JRE), not the Java Development Kit (JDK).  Can you
expect to run Netbeans w/o the JDK?

mas
lkrubner@geocities.com - 10 May 2005 22:50 GMT
That might be right. I downloaded the "bundle" and it worked. I think I
was trying to download the wrong thing.
Mkhululi - 11 May 2005 07:37 GMT
Hi,
In windows go to cmd (MS Dos) and go to the directory of the
installation file and do the following:
1. type: <the name of the installation file in full>  -is:javahome
<location of the your jre>
Example in my machine this will be:
nebeans4.1.exe -is:javahome c:\j2se5\jre

Yours,
Me
Juha Laiho - 30 Apr 2005 18:25 GMT
lkrubner@geocities.com said:
>I downloaded jre-1_5_0_01-windows-i586-p.exe to make sure I had the
>newest version of the JVM installed.

That's strange, given that 1.5.0 update 2 was released some while ago,
and 1.5.0 update 3 was released during the last week.

>Then I downloaded Netbeans 4.0 and tried to install it. My machine runs
>Windows XP.
>
>I was told that I couldn't install it, because a suitable JVM could not
>be found.

As it says on the Netbeans download page
http://www.netbeans.info/downloads/download.php?a=b&p=1 ,

"NetBeans IDE 4.0 requires a J2SE JDK, version 1.4.2 or higher.",
so a plain JRE is not enough, you need a JDK. Available as a download
from http://java.sun.com/ .
Signature

Wolf  a.k.a.  Juha Laiho     Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
        PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)

Rivky - 02 May 2005 17:10 GMT
Make sure you set the path to the jdk so that Netbeans can find it.

I took this from the Sun site -
http://java.sun.com/j2se/1.4.2/install-windows.html

5. Update the PATH variable (Optional)

You can run the Java 2 SDK without setting the PATH variable, or you
can optionally set it as a convenience.
Should I set the PATH variable?
Set the PATH variable if you want to be able to conveniently run the
Java 2 SDK executables (javac.exe, java.exe, javadoc.exe, etc.) from
any directory without having to type the full path of the command. If
you don't set the PATH variable, you need to specify the full path to
the executable every time you run it, such as:

   C:> \j2sdk1.4.2_<version>\bin\javac MyClass.java

It's useful to set the PATH permanently so it will persist after
rebooting.
How do I set the PATH permanently?
To set the PATH permanently, add the full path of the
j2sdk1.4.2_<version>\bin directory to the PATH variable. Typically this
full path looks something like C:\j2sdk1.4.2_<version>\bin. Set the
PATH as follows, according to whether you are on Microsoft Windows NT
or 98/2000/ME.

Microsoft Windows NT, 2000, and XP - To set the PATH permanently:

Choose Start, Settings, Control Panel, and double-click System. On
Microsoft Windows NT, select the Environment tab; on Microsoft Windows
2000 select the Advanced tab and then Environment Variables. Look for
"Path" in the User Variables and System Variables. If you're not sure
where to add the path, add it to the right end of the "Path" in the
User Variables. A typical value for PATH is:
    C:\j2sdk1.4.2_<version>\bin

Capitalization doesn't matter. Click "Set", "OK" or "Apply".
The PATH can be a series of directories separated by semi-colons (;).
Microsoft Windows looks for programs in the PATH directories in order,
from left to right. You should only have one bin directory for a Java
SDK in the path at a time (those following the first are ignored), so
if one is already present, you can update it to
j2sdk1.4.2_<version>\bin.

The new path takes effect in each new Command Prompt window you open
after setting the PATH variable.
Microsoft Windows 98 - To set the PATH permanently, open the
AUTOEXEC.BAT file and add or change the PATH statement as follows:

Start the system editor. Choose "Start", "Run" and enter sysedit, then
click OK. The system editor starts up with several windows showing. Go
to the window that is displaying AUTOEXEC.BAT

Look for the PATH statement. (If you don't have one, add one.) If
you're not sure where to add the path, add it to the right end of the
PATH. For example, in the following PATH statement, we have added the
bin directory at the right end:

PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\J2SDK1.4.2_<version>\BIN

Capitalization doesn't matter. The PATH can be a series of directories
separated by semi-colons (;). Microsoft Windows searches for programs
in the PATH directories in order, from left to right. You should only
have one bin directory for a Java SDK in the path at a time (those
following the first are ignored), so if one is already present, you can
update it to j2sdk1.4.2_<version>.

To make the path take effect in the current Command Prompt window,
execute the following:
     C:> c:\autoexec.bat

To find out the current value of your PATH, to see if it took effect,
at the command prompt, type:
     C:> path

Microsoft Windows ME - To set the PATH permanently:

>From the start menu, choose programs, accessories, system tools, and
system information. This brings up a window titled "Microsoft Help and
Support". From here, choose the tools menu, then select the system
configuration utility. Click the environment tab, select PATH and press
the edit button. Now add the SDK to your path as described in step b
above. After you've added the location of the SDK to your PATH, save
the changes and reboot your machine when prompted.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.