-cp does not work in conjunction with -jar. The jar file gets its class path
from the manifest file. 

You can drop jars into the the implicit classpath at your jre/lib/ext. I
have not tried it, but Orions classloader may pick up jars in the Orion
directory. 

For your applications, you can specify a lib directory in application.xml
<library path=.../>; for web applications WEB-INF/lib will do.

        --peter

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 27, 2001 2:48 AM
To: Orion-Interest
Subject: Newbie classpath problem - please help





I've installed Orion 1.5.2 on my Windows NT4 development machine.

I have a system classpath that points to lots of standard classes, for
utilities, etc.

If I start Orion with the command "java -jar orion.jar" then it doesn't pick
anything up from the classpath,
if on the otherhand I start Orion with the command "java -jar -cp
%CLASSPATH%
orion.jar" then I get a java.util.zip.ZipException error
with the following message "The filename, directory name, or volume label
syntax
is incorrect"

Do I need to set the classpath elsewhere?

Thanks





****************************************************************************
****

E-mail communication is not secure and may be intercepted by a third party.
This 
message is confidential to the intended addressee. If you are not the
intended 
addressee, please inform us immediately and then delete this message. Virgin

Direct does not accept responsibility for changes made to this message after
it
was sent. Although Virgin Direct believes this e-mail is free of any virus
or other
defect which may affect a computer, it is the responsibility of the
recipient to ensure 
that it is virus free and Virgin Direct does not accept any responsibility
for any loss 
or damage arising in any way from it's use.

Virgin Direct Personal Financial Service Ltd is regulated by the Personal 
Investment Authority for life insurance, pension and unit trust business and

represents only the Virgin Direct marketing group. Registered office:
Discovery
House, Whiting Road, Norwich NR4 6EJ, UK. Registered in England No. 3072766.

The Virgin One account is a secured personal bank account with The Royal
Bank 
of Scotland plc. It is provided by Virgin Direct Personal Finance Ltd which
is
a representative only of Virgin Direct Personal Financial Service Ltd. 
Registered office: Waterhouse Square, 138-142 Holborn, London EC1N 2TH, UK. 
Registered in England no 3414708.

The Virgin Deposit Account is a personal deposit account with The Royal Bank
of 
Scotland plc administered by Virgin Direct Personal Financial Service Ltd.

All telephone calls are recorded and may be monitored. 


****************************************************************************
****

Reply via email to