3.2.13 will not launch under my OS X 10.5.8

java version “1.5.0_30”
Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425)
Java HotSpot™ Client VM (build 1.5.0_30-161, mixed mode, sharing)
newusers-power-mac-g4-agp-graphics:~ NewUser$

Thanks for the help!

Thus spake fgilbert2:

java version “1.5.0_30”
Java™ 2 Runtime Environment, Standard Edition (build
1.5.0_30-b03-389-9M3425)
Java HotSpot™ Client VM (build 1.5.0_30-161, mixed mode, sharing)
newusers-power-mac-g4-agp-graphics:~ NewUser$

What’s the output of this command?

ls -l /System/Library/Frameworks/JavaVM.framework/Versions/


J.

lrwxr-xr-x 1 root wheel 5 Jul 28 2011 1.3 → 1.3.1
drwxr-xr-x 3 root wheel 102 Sep 29 2007 1.3.1
lrwxr-xr-x 1 root wheel 5 May 19 2011 1.4 → 1.4.2
lrwxr-xr-x 1 root wheel 3 Mar 11 2011 1.4.1 → 1.4
drwxr-xr-x 8 root wheel 272 Mar 11 2011 1.4.2
lrwxr-xr-x 1 root wheel 5 Jul 28 2011 1.5 → 1.5.0
drwxr-xr-x 8 root wheel 272 Mar 11 2011 1.5.0
lrwxr-xr-x 1 root wheel 5 Jul 28 2011 1.6 → 1.6.0
lrwxr-xr-x 1 root wheel 59 Jul 28 2011 1.6.0 → /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
drwxr-xr-x 10 root wheel 340 Jul 28 2011 A
lrwxr-xr-x 1 root wheel 1 Jul 28 2011 Current → A
lrwxr-xr-x 1 root wheel 3 Jul 28 2011 CurrentJDK → 1.5
newusers-power-mac-g4-agp-graphics:~ NewUser$

Thus spake fgilbert2:

lrwxr-xr-x 1 root wheel 5 Jul 28 2011 1.3 → 1.3.1
drwxr-xr-x 3 root wheel 102 Sep 29 2007 1.3.1
lrwxr-xr-x 1 root wheel 5 May 19 2011 1.4 → 1.4.2
lrwxr-xr-x 1 root wheel 3 Mar 11 2011 1.4.1 → 1.4
drwxr-xr-x 8 root wheel 272 Mar 11 2011 1.4.2
lrwxr-xr-x 1 root wheel 5 Jul 28 2011 1.5 → 1.5.0
drwxr-xr-x 8 root wheel 272 Mar 11 2011 1.5.0
lrwxr-xr-x 1 root wheel 5 Jul 28 2011 1.6 → 1.6.0
lrwxr-xr-x 1 root wheel 59 Jul 28 2011 1.6.0 →
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
drwxr-xr-x 10 root wheel 340 Jul 28 2011 A
lrwxr-xr-x 1 root wheel 1 Jul 28 2011 Current → A
lrwxr-xr-x 1 root wheel 3 Jul 28 2011 CurrentJDK → 1.5
newusers-power-mac-g4-agp-graphics:~ NewUser$

Ok. What’s the output of

ls -l /System/Library/Frameworks/JavaVM.framework/Versions/A

?


J.

total 440
lrwxr-xr-x 1 root wheel 28 Jul 28 2011 CodeResources → _CodeSignature/CodeResources
drwxr-xr-x 37 root wheel 1258 Jul 28 2011 Commands
drwxr-xr-x 4 root wheel 136 Jul 28 2009 Frameworks
drwxr-xr-x 16 root wheel 544 Jul 28 2011 Headers
drwxr-xr-x 3 root wheel 102 Jun 3 2011 JavaPluginCocoa.bundle
-rwxr-xr-x 1 root wheel 219104 Jun 16 2011 JavaVM
drwxr-xr-x 33 root wheel 1122 Jul 28 2011 Resources
drwxr-xr-x 3 root wheel 102 Jul 28 2011 _CodeSignature
newusers-power-mac-g4-agp-graphics:~ NewUser$

Thus spake fgilbert2:

total 440
lrwxr-xr-x 1 root wheel 28 Jul 28 2011 CodeResources →
_CodeSignature/CodeResources
drwxr-xr-x 37 root wheel 1258 Jul 28 2011 Commands
drwxr-xr-x 4 root wheel 136 Jul 28 2009 Frameworks
drwxr-xr-x 16 root wheel 544 Jul 28 2011 Headers
drwxr-xr-x 3 root wheel 102 Jun 3 2011 JavaPluginCocoa.bundle
-rwxr-xr-x 1 root wheel 219104 Jun 16 2011 JavaVM
drwxr-xr-x 33 root wheel 1122 Jul 28 2011 Resources
drwxr-xr-x 3 root wheel 102 Jul 28 2011 _CodeSignature
newusers-power-mac-g4-agp-graphics:~ NewUser$

And under JavaVM here?


J.

I’m sorry, but you completely lost me here. When you say “And under JavaVM here” what do you mean?

Thanks!

Thus spake fgilbert2:

“uckelman” wrote:

Thus spake fgilbert2:

total 440
lrwxr-xr-x 1 root wheel 28 Jul 28 2011 CodeResources →
_CodeSignature/CodeResources
drwxr-xr-x 37 root wheel 1258 Jul 28 2011 Commands
drwxr-xr-x 4 root wheel 136 Jul 28 2009 Frameworks
drwxr-xr-x 16 root wheel 544 Jul 28 2011 Headers
drwxr-xr-x 3 root wheel 102 Jun 3 2011
JavaPluginCocoa.bundle
-rwxr-xr-x 1 root wheel 219104 Jun 16 2011 JavaVM
drwxr-xr-x 33 root wheel 1122 Jul 28 2011 Resources
drwxr-xr-x 3 root wheel 102 Jul 28 2011 _CodeSignature
newusers-power-mac-g4-agp-graphics:~ NewUser$

And under JavaVM here?


J.

I’m sorry, but you completely lost me here. When you say “And under
JavaVM here” what do you mean?

There’s a JavaVM directory listed in the output above. I wanted you to
to list the contents of that, but actually I think the one we need is
Commands instead:

ls -l /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands


J.

ls -l /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands
total 4768
-rwxr-xr-x 1 root wheel 68656 Jun 3 2011 appletviewer
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 apt
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 extcheck
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 idlj
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 jar
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 jarsigner
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 java
-rwxr-xr-x 1 root wheel 81392 Jun 3 2011 java_home
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 javac
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 javadoc
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 javah
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 javap
-rwxr-xr-x 1 root wheel 59920 Jun 3 2011 javaws
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 jconsole
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 jdb
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 jhat
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 jinfo
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 jmap
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 jps
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 jsadebugd
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 jstack
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 jstat
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 jstatd
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 keytool
-rwxr-xr-x 1 root wheel 68656 Jun 3 2011 native2ascii
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 orbd
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 pack200
-rwxr-xr-x 1 root wheel 68656 Jun 3 2011 policytool
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 rmic
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 rmid
-rwxr-xr-x 1 root wheel 68656 Jun 3 2011 rmiregistry
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 serialver
-rwxr-xr-x 1 root wheel 68656 Jun 3 2011 servertool
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 tnameserv
-rwxr-xr-x 1 root wheel 68640 Jun 3 2011 unpack200
newusers-power-mac-g4-agp-graphics:~ NewUser$

Thus spake fgilbert2:

ls -l /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands

What does

/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java -version

tell you?


J.

newusers-power-mac-g4-agp-graphics:~ NewUser$ /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java -version
java version “1.5.0_30”
Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425)
Java HotSpot™ Client VM (build 1.5.0_30-161, mixed mode, sharing)
newusers-power-mac-g4-agp-graphics:~ NewUser$

I’d really like to upgrade to 3.2.15. Any suggestions from anyone? The above posts were in response to questions about my Java set up but they are Greek to me. Thanks!

Thus spake fgilbert2:

I’d really like to upgrade to 3.2.15. Any suggestions from anyone? The
above posts were in response to questions about my Java set up but they
are Greek to me. Thanks!

I haven’t had time to follow up further. I should have more time in
the next few days.


J.

Thus spake fgilbert2:

newusers-power-mac-g4-agp-graphics:~ NewUser$
/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java
-version
java version “1.5.0_30”
Java™ 2 Runtime Environment, Standard Edition (build
1.5.0_30-b03-389-9M3425)
Java HotSpot™ Client VM (build 1.5.0_30-161, mixed mode, sharing)
newusers-power-mac-g4-agp-graphics:~ NewUser$

So this JVM is the same as the one on your path.

Ok. Some additional things to check. What is the output of these commands?

  1. /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java -version

  2. /Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version


J.

For 1) -bash: /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java: Bad CPU type in executable

For 2)-bash: /Library/Internet: No such file or directory

Thanks!

Thus spake fgilbert2:

For 1) -bash:
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java:
Bad CPU type in executable

This is what I thought we might see. We can solve your problem now.

The reason you’re seeing different behavior between VASSAL 3.2.14 and
3.2.15 is that the launch scripts look for versions of java in a
different order.

The reason that 3.2.15 isn’t working for you is that 3.2.15 looks for
Java 6 before Java 5—and your Java 6 installation is broken. In
particular, you’ve installed Java 6 for the wrong CPU architecture.
(My guess is that your Mac has a PowerPC CPU, not a newer Intel CPU.)

The solution is to uninstall Java 6. Once you do that, 3.2.15 will find
Java 5 first and should launch properly.

If you want to use a version of Java other than Java 5, you need to find
one built for the ppc architecture instead of intel.


J.

Is there even a Java 6 for PowerPC?

In any case, how do I uninstall the Java 6 on my computer?

Thanks again!

Thus spake fgilbert2:

Is there even a Java 6 for PowerPC?

I know there’s not one provided by Apple. There might be ppc versions
of OpenJDK 6, 7, or 8. You’d have to hunt around.

In any case, how do I uninstall the Java 6 on my computer?

I don’t know. How did you install it?


J.

I rather doubt I installed it. Bought the computer used.

Found this online, does it look good? rm ~/Library/Caches/Java/deployment.properties
sudo rm -rf /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0
sudo rm /System/Library/Frameworks/JavaVM.framework/Versions/1.6

Thus spake fgilbert2:

I rather doubt I installed it. Bought the computer used.

Found this online, does it look good? rm
~/Library/Caches/Java/deployment.properties
sudo rm -rf /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0
sudo rm /System/Library/Frameworks/JavaVM.framework/Versions/1.6

That will delete those directories. Our launch script won’t find Java 6
if you do that. However, I can’t say for sure if this is the right way
to uninstall Java 6. I’m not a Mac user.

I found a recommendation from one of the Java guys at Apple about this
here, indicating that you should not do what you suggested:

mail.openjdk.java.net/pipermail/ … 06388.html


J.