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 - EXE launcher needs to be modified to work correstly with jdk1.4.
Summary: EXE launcher needs to be modified to work correstly with jdk1.4.
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: _ ttran
URL:
Keywords:
Depends on:
Blocks: 13527
  Show dependency tree
 
Reported: 2001-06-11 14:29 UTC by Jan Zajicek
Modified: 2008-12-23 13:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.