Java 1.4.2_06 installation - Whats with all the java.exe

From: Micha (michaGEEN_SPAM_at_dutchweb.nl)
Date: 11/04/04


Date: Thu, 4 Nov 2004 18:35:37 +0100

I've got a question about the installation of 1.4.2_06. I've downloaded the
j2sdk-1_4_2_06-windows-i586-p.exe from Sun and installed this java version.
It installs three java.exe files.
j2re1.4.2_06\bin\java.exe
j2sdk1.4.2_06\bin.java.exe
j2sdk1.4.2_6\jre\bin\java.exe
What I need is to run java with the parm -server. Only the last bin folder
(j2sdk1.4.2_6\jre\bin) contains a server folder. So I guess this is the
program to use and I set the path to it. But when I run "java -server" this
error appears:
Error: no `server' JVM at `C:\Program
Files\Java\j2re1.4.2_06\bin\server\jvm.dll'.
Which I can understand, because the j2re1.4.2_06\bin folder has no folder
server. But why is it looking in the j2re1.4.2_06\bin and not to the
j2sdk1.4.2_6\jre\bin which is set in the path. I know that the correct
java.exe is executed. When I rename the other two, Windows still finds the
jave.exe to run.
So I have two questions. Why are there three java.exe (Sun says in the
installation instructions there will be two, one private, one public)? And
how can I get java to use the correct bin folder so I can use the server
parameter?

Any help would be appreciated (naturally, else I wouldn't have posted this
message).

Micha



Relevant Pages

  • RE: Windows server 2003 SP1
    ... steps to install a Windows XP at the end of this reply for your reference. ... to a folder on another disk partition or a shared folder on an internal ... Install SBS 2003 server. ... to perform a parallel installation of Windows XP on the same ...
    (microsoft.public.windows.server.sbs)
  • Re: Problem with SharePoint services and .NET framework after office move
    ... How to remove and how to install the Windows Small Business Server 2003 ... During the installation, the system may prompt you to insert ... Start a cmd prompt and change directory to the SP1 download folder (or ... I have run the Change IP address wizard in Server Management Console at ...
    (microsoft.public.windows.server.sbs)
  • [NEWS] Resin Path Disclosure (HelloServlet)
    ... In a default installation of Resin server, ... examples folder will be installed as well. ... The source of this servlet is in: ...
    (Securiteam)
  • JBoss Websphere Admin
    ... JBoss Websphere Admin ... Installation and patches to the JVM 1.5 ... Extensions management Security Management of real server resource use ... this person must be able to install and configure Java ...
    (comp.lang.java.beans)
  • Re: Error 7619 - Cannot enable FTS on any database
    ... logged on as Admin or as a member of the Admin Group on the server where SQL ... re-try deleting the \MSSearch folder again and ... Then using your SQL Server 2000 installation CD re-install via "Custom ... Installation" the Full-Text Search component. ...
    (microsoft.public.sqlserver.fulltext)