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 95788 - profile.sh calls incorrect java on Solaris amd64
Summary: profile.sh calls incorrect java on Solaris amd64
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
: 104709 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-16 11:12 UTC by Alexander Kouznetsov
Modified: 2007-06-19 07:59 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 Alexander Kouznetsov 2007-02-16 11:12:11 UTC
Profiler 070215

profile.sh in remote pack for Solaris amd64 has the following string:
$JAVA.HOME/bin/java -agentpath:...

which should be replaced with
$JAVA.HOME/bin/amd64/java -agentpath:...
Comment 1 Tomas Hurka 2007-02-16 13:39:03 UTC
This is not calibrate.sh from Solaris amd64 remote pack.
The correct one looks like this:

[host:/tmp/test] thurka% cat bin/calibrate.sh 
#!/bin/sh

# This script expects JAVA_HOME to point to the correct JDK 5.0 installation
# In case you need to customize it, please uncomment and modify the following lines

# JAVA_HOME=/opt/java/jdk1.5.0_04
# export JAVA_HOME

OLD_PWD=`pwd`
cd `dirname $0`
INSTALL_DIR=`pwd`
cd $OLD_PWD
unset OLD_PWD

$JAVA_HOME/bin/java -d64 -javaagent:$INSTALL_DIR/../lib/jfluid-server-15.jar 
com.sun.tools.profiler.server.ProfilerCalibrator
[host:/tmp/test] thurka% 
Comment 2 Alexander Kouznetsov 2007-02-16 13:47:02 UTC
This issue is about profile.sh, not about calibrate.sh.
Comment 3 Tomas Hurka 2007-02-16 13:53:39 UTC
You are right, sorry.
Fixed in trunk.
Comment 4 Ivan Sidorkin 2007-02-16 13:55:26 UTC
please add the same for sparcv9
Comment 5 Alexander Kouznetsov 2007-03-14 17:06:05 UTC
Verified with Profiler 070313
Comment 6 Alexander Kouznetsov 2007-04-02 10:12:59 UTC
Please, note, that sparcv9 case was not verified.
Comment 7 Tomas Hurka 2007-06-18 16:48:15 UTC
*** Issue 104709 has been marked as a duplicate of this issue. ***
Comment 8 Tomas Hurka 2007-06-19 07:59:00 UTC
*** Issue 104709 has been marked as a duplicate of this issue. ***