[ILUG] Java
Jeremy Smyth
JSmyth at Saleslan.com
Tue Mar 7 13:37:30 GMT 2000
Ta, I'll try that.
...although the blackdown README.linux claims that if you do
PATH=/foo/jdk117/bin:$PATH
it sorts the rest, seeing as "java" is a wrapper for the actual bin, it
sorts out the CLASSPATH bits. I'll try it anyway.
> -----Original Message-----
> From: Aaron McDaid [mailto:Aaron.McDaid at Compaq.com]
> Sent: Tuesday, March 07, 2000 1:34 PM
> To: 'Jeremy Smyth'
> Subject: RE: [ILUG] Java
>
>
> The java interpreter is just looking for the classname not
> the fullname so:
> java program
>
> is the right way to do it.
> but now you have to mess with the CLASSPATH env. variable ....
> Put "." in it will make it search the current dir as well as
> the standard
> ones.
>
> eg:
> bash# CLASSPATH=.;usr/java
>
> or something
>
> NB: This won't work with applets. you need appletviewer for that
>
>
>
> -----Original Message-----
> From: Jeremy Smyth [mailto:JSmyth at Saleslan.com]
> Sent: Tuesday, March 07, 2000 1:17 PM
> To: 'ilug at linux.ie'
> Subject: [ILUG] Java
>
>
> I've downloaded blackdown's 1.1.7 jdk, and am getting funny stuff.
> If I run it, like
> java program.class
> it says Can't find program.class.
>
> My box is RH 5.2, I've also installed it on a 6.0 machine
> (over telnet),
> same deal.
>
> Any ideas?
> /jer
>
>
> --
> Irish Linux Users' Group: ilug at linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for
> (un)subscription information.
> List maintainer: listmaster at linux.ie
>
More information about the ILUG
mailing list