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 12743

Summary: EXE launcher needs to be modified to work correstly with jdk1.4.
Product: platform Reporter: Jan Zajicek <jzajicek>
Component: -- Other --Assignee: _ ttran <ttran>
Status: CLOSED FIXED    
Severity: blocker CC: rdankanin
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 13527    

Description Jan Zajicek 2001-06-11 14:29:30 UTC
We shouldn't rely on the structure under \jre\bin\. Between jdk1.4 beta (b65)
and jdk1.4 beta refresh build 67. the strusture has changed. Previous directory
\jre\bin\hotspot\ is now \jre\bin\client\. Our exe launcher should be able to
handle this. On lines 225 - 233 in runide.cpp there is the old directory
structure hardcoded as \jre\bin\hotspot\, so the ide wouldn't start with jdk1.4
beta refreash b67.
Comment 1 Robert Dankanin 2001-06-11 15:56:58 UTC
I have changed "client" to "hotspot" according to e.g. b65 (to be able to run 
the IDE), but then - after execution (set to external) of any java source in the 
IDE, there will appear:

Error: no `client' JVM at `C:\java\jdk1.4-b67\jre\bin\client\jvm.dll'.

in [Output Window].
Comment 2 Jan Zajicek 2001-06-12 09:41:21 UTC
Yes the problem is that java.exe refers to the jre and when you rename the
directory under jre it cannot find it.
Comment 3 _ ttran 2001-06-13 14:09:38 UTC
the launcher should be rewritten to call <jdk>/bin/java.exe.  This is our only
chance to survive similar changes in the JDK.  For the meantime I added "client"
and "server" to the list of known JVMs.

Fixed in "trunk" and "merlin" branch.
Comment 4 Robert Dankanin 2001-06-14 14:44:47 UTC
[Main trunk build #210]

verified
-tested under Merlin b67 and b68
(start of IDE, compilation and execution works now)
Change done in rev. 1.14

NOTE: It's not verified in NB-Merlin branch - new build is not available yet
Comment 5 Jan Zajicek 2001-06-21 13:35:38 UTC
Should be integrated into pilsen_fcs ASAP.
Comment 6 _ ttran 2001-06-25 12:22:47 UTC
fix integrated in pilsen_fcs
Comment 7 Quality Engineering 2003-07-01 16:27:23 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.