[3156] in java-interest

home help back first fref pref prev next nref lref last post

Re: retarded problem and questin

daemon@ATHENA.MIT.EDU (Thomas Ball)
Wed Nov 1 19:41:38 1995

Date: Wed, 1 Nov 1995 12:44:21 -0800
From: Thomas.Ball@Eng.Sun.COM (Thomas Ball)
To: pinette@cs.sfu.ca
Cc: java-interest@java.Eng.Sun.COM

>  Ok, I have an applet which works fine when I view on a Solaris
>  box with sun's applet viewer.  Now for reasons which are too 
>  lengthy for me to go into, I need to run the same applet on
>  my W'95 box using netscape.  Here is my question.  Technically
>  speaking I should not have to recompile the byte code (correct?)

Correct, if you are using the JDK.  Not correct if you have an alpha3
applet.

>  so I can ftp it to my machine.  

Better yet, put it in a web page and just use a URL.

>  the problem here is this...it dont 
>  work :-).  I think my problems lie in the file name (the infamous 
>  name too long :-( ie. my class calls on another class file )
>  is this the case? 

The problem is probably in case-sensitive names.  If you refer to the
file using the same case as on Solaris, it works just fine.  If you
get sloppy and change the case, Java's class loader gets upset and
claims the file isn't there (when it is).  We've fixed that for beta.

>  or will I have to recompile the byte code for
>  W'95 (needing to recompile does not make any sense to me).  If
>  it is the name problem which I am guessing, how can I get the
>  name to be ErrorHandler.class instead of Error~1.cla which is what
>  it is now :-)

Ignore those shortened names, and refer to the file using the same
name as under Solaris.

Tom Ball
Java Products Group
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post