Ahhh! I understand. I think.

So, although java, javac etc. are not physically in jdk1.2/bin the wrapper 
redirects to the appropriate version in the green & native directories.

I don't see how it does that but so long as it does I don't mind.

I was basing my knowledge of the jdk on the directory structure of the Win32 
version of Java and expected to see the runtimes in jdk1.2/bin and as I 
didn't I hunted round until I did.

Many thanks,

James.

>On Fri, 26 Nov 1999 04:22:33 PST, James Butler wrote:
>
> >That's strange as the Blackdown distribution says that jdk1.2 does not 
>need
> >for any environment variables to be set such as JAVA_HOME.
>
>This is correct.
>
> >In fact I ran "java -version" from inside
> >/usr/share/jdk1.2/bin/i386/native_threads where the java executable 
>resides
> >and for good measure also ran it with libhpi.so copied to the same
> >directory.
>
>This is *not* the directory you should be running the binary from.
>You should be running it from ..../jdk1.2/bin
>
>The things in that directory are links to scripts that set up the correct
>environment (including the LD path, class paths, etc) such that the JVM
>will work.  They then run the correct binary from either the native or
>green threads directory for the correct CPU type of your system.
>
> >So, surely, I should not have had any problems assuming JAVA_HOME is not
> >required.
> >
> >Well, I got the path working, this morning before work, but no time for
> >JAVA_HOME. I'll try that this evening.
>
>Again, it is best if you don't set them.  If you look at the wrapper 
>scripts
>you will see that if you set them the scripts will blindly use your 
>settings
>which means that if you get them wrong (or you change JVMs bot not all of 
>the
>settings) that you will cause things to fail.
>
>--
>Michael Sinz ---- Technology and Engineering Director/Consultant
>"Starting Startups"                 mailto:[EMAIL PROTECTED]
>My place on the web ---> http://www.users.fast.net/~michael_sinz
>
>
>
>----------------------------------------------------------------------
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to