Thanks Alan and Bruce, but the problem remains.
On 19 Feb 2010, at 18:33, Alan Sampson wrote: From what I understand an important clue to finding the Java run-time classes is the /usr/libexec/java_home utility which gives you the location of your Java home directory Okay, I have three directories containing /usr/libexec but sadly none of them contain any file or directory named java_home. In fact, Finder does not admit to having a java_home file anywhere. You need to locate that to find the Java run-time JAR file (classes.jar in my environment but I've also seen rt.jar in other Java implementations. - Trust but verify...) Okay, but nowhere on my OSX system do I see either a rt.jar or a classes.jar. The only likely jar file I can find is JavaTools.jar, and I've tried this without success. Java on OSX has changed on 10.5, the newer java version only runs on intel hardware whereas my machine has a ppc processor. I'm sure the solution is really simple. I just don't know where to look. Thanks Bruce, I did what you told me to do, and used your supplied script. But I still get exactly the same problem: NetRexx portable processor, version 2.05 Copyright (c) IBM Corporation, 2005. All rights reserved. : Program hello.nrx +++ Error: The class 'java.lang.Object' cannot be found Compilation of 'hello.nrx' failed [one error] : What and Where is the class 'java.lang.Object' and how do I get the Rexx compiler or Java (whichever needs it) to find it? Thanks. Connor. _______________________________________________ Ibm-netrexx mailing list [hidden email] |
Hi Connor,
NetRexx runs on every MacOSX release on PPC also. Do note that Finder does not show all 'system' kind of files by default. If you open a Terminal window, and type: java -version and that gives you an answer, you know that java.lang.Object is somewhere. then do a cd /System/Library/Frameworks/JavaVM.framework/Classes and look at the .jar files in there. Alternatively, cd /System find . -name classes.jar will show you (after some time, it scans all files) where classes.jar is located. Put this on the classpath and you are ready to go. best regards, René Jansen. On 20 feb 2010, at 13:06, Connor Birch wrote:
_______________________________________________ Ibm-netrexx mailing list [hidden email] |
Free forum by Nabble | Edit this page |