I'm not sure this is going to be much help. I'm doing application
development and not applet.
I always run without any sort of default classpath environment variable. By
default, if no classpath environment variable is set, java will know to
search the jdk (or jre) path and the current directory (.).
If I need any special classpath set up, I either add it to my Class-Path
parameter in my jar's manifest file, or I provide a script that sets up the
environment temporarily for that run of the application. If they already
have some environment settings, mine should override them for the scope of
the script. After the script exits, the special environment I needed is
removed and they're back to their original setup.
My ideas behind doing this are that I can, hopefully, simulate the
end-user's system where they may or may not already have a classpath set up.
And whatever they have set up shouldn't interfere with my requirements. So
far, this seems to be working well.
----- Original Message -----
From: "Fergus Murray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 9:46 AM
Subject: [JAVA3D] Running Java applications
> Well,
>
> I managed to find out about the Java2 plugin HTML thing... I just needed
> to include 'Swing' in my search, even though I'm not actually using Swing.
>
> I've realised that specifying the -cp . option with java.exe allows me
to
> run applications in the current directory (why does the corresponding
> abbreviation not work with javac??), as does typing set classpath=. in
> advance - but I remain baffled and irked that it doesn't work without
this.
> Surely the line 'set classpath=jdk1.3.1; . ; %CLASSPATH%' in autoexec.bat
> ought to do the trick? Is there perhaps somewhere else to put such an
> option that I don't know about because of my relative lack of experience
> with NT? Re-installing Java3D didn't help incidentally - thanks for
> suggestion though Mattie. Had to be worth a try...
>
> - Troubled in Surrey.
>
> http://fergusmurray.members.beeb.net/interact.htm
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".