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 62879 - profiler.bat needs quotes to support JAVA_HOME and profiler locations with spaces
Summary: profiler.bat needs quotes to support JAVA_HOME and profiler locations with sp...
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-23 16:58 UTC by jchristi
Modified: 2007-02-20 18:09 UTC (History)
0 users

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 jchristi 2005-08-23 16:58:03 UTC
Spots where a space could occur do to JAVA_HOME containing a space need to be
enclosed in spaces as illustrated below:

@echo off

REM This script expects JAVA_HOME to point to the correct JDK 5.0 installation
REM A JDK 5.0 update 4 (JDK 1.5_04) or newer is needed for the profiler to work
correctly
REM In case you need to customize it, please uncomment and modify the following line
REM set JAVA_HOME=C:\Software\jdk15_04

"%JAVA_HOME%\bin\java.exe"
-agentpath:"%~dp0\..\lib\deployed\jdk15\windows\profilerinterface.dll"="\"%~dp0\..\lib\"",5140
%*
Comment 1 iformanek 2005-09-12 17:29:49 UTC
Fixed in M9, thanks.
Comment 2 ehucka 2006-10-09 12:09:03 UTC
Verification of old issues.
Comment 3 Alexander Kouznetsov 2007-02-20 10:21:57 UTC
Closing old issues
Comment 4 Alexander Kouznetsov 2007-02-20 18:09:00 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.