Java 1.5´s HotSpot after update of QT 7.0.2/iTunes 5

Today I ran the Software Update and installed the QT 7.0.2 and iTunes 5. After booting I started to work with my java 1.5 app.

When I compiled my app I got the boring message from java: "HotSpot not at correct virtual address. Sharing disabled."

java 1.4.2_07 runs fine but when I want to run java 1.5 :

$ /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java -version

I get following message:

HotSpot not at correct virtual address. Sharing disabled.
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-56)
Java HotSpot(TM) Client VM (build 1.5.0_02-36, mixed mode)

Please help me, how can I fix this problem?

Posted on Sep 8, 2005 6:56 AM

Reply
6 replies

Sep 8, 2005 1:59 PM in response to Henrik Roos

I seem to be in the exact same situation. I have a PowerBook G4 running Mac OS X 10.4.2. Yesterday I upgraded to QuickTime 7.0.2 and iTunes 5. If I type "java -version" I get the output:

HotSpot not at correct virtual address. Sharing disabled.
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-56)
Java HotSpot(TM) Client VM (build 1.5.0_02-36, mixed mode)

I'm also getting other runtime errors from my Java application, but since I wrote that myself and I'm in the process of modifying it, I'm not sure whether the errors are due to this message or some bug I've introduced into my code.

It looks like this has happened once before. Take a look at:

http://developer.apple.com/technotes/tn2002/tn2099.html

I would sure like to know how to fix this.

--Stuart

Sep 9, 2005 2:14 PM in response to Stuart Malone1

I took a lock at http://developer.apple.com/technotes/tn2002/tn2099.html but after some time I took a decision to reinstall my hole system.

1. I took my Tiger installation DVD and installed Tiger from scratch.
2. After succeeded installing I ran the software update and installed all the updates including QT 7.0.2
3. Downloaded and installed Xcode 2.2
4. Downloaded and installed Java 1.5

After that everything runs perfect!

Sep 14, 2005 4:11 PM in response to javatoid

I have tried the following:

1) Removed the version.plist, per the tech note
2) Re-installed the the "Java.pkg" from the install disk
3) Installed Java 1.5

I still get the "Hotspot not at correct address..." error.

Note: After I deleted the version.plist and re-installed the Java.pkg from the installation disk, it did not revert JDK 1.4 back to the version contained in the Tiger disk. It left the JDK 1.4 version to 1.4.2_09.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Java 1.5´s HotSpot after update of QT 7.0.2/iTunes 5

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.