🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17320

CLASSPATH and the jre command

#17320
From: Alan McDonald
Date: Sun, 29 Nov 1998 00:00
20 lines
1284 bytes
Can anyone tell me why I need to issue the complete jre command e.g.
jre -cp
.;myclass.jar;c:\windows\java\classes\classes.zip;c:\windows\java\classes\Jb
cl2.0-rt.jar;c:\windows\java\classes\Jgl3.1.0.jar;c:\windows\java\classes\Sw
ingall.jar;c:\windows\java\classes\interclient.jar;c:\windows\java\classes\v
bcpp.jar MCS.DBManager

and not just
jre -cp .;myclass.jar MCS.DBManager

Even if I copy and paste this classpath in the first command into a
set
classpath=.;c:\windows\java\classes\classes.zip;c:\windows\java\classes\Jbcl
2.0-rt.jar;c:\windows\java\classes\Jgl3.1.0.jar;c:\windows\java\classes\Swin
gall.jar;c:\windows\java\classes\interclient.jar;c:\windows\java\classes\vbc
pp.jar
command first I can't get the second shorter command to fire without error.

What am I (not)expecting to happen?
Alan
Technical Details
Message-ID: <73ps9c$hr38@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,5fb472ec6924d5b7,start
X-Google-Attributes: gidf74b3,public
From: "Alan McDonald" <alan@meta.com.au>
Subject: CLASSPATH and the jre command
Date: 1998/11/29
Message-ID: <73ps9c$hr38@forums.borland.com>
X-Deja-AN: 416601220
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3