Article View: borland.public.jbuilder.java.api
Article #2635Sv: Sv: Deploying an application
From: Poul S. Bak
Date: Sat, 26 Aug 2000 00:00
Date: Sat, 26 Aug 2000 00:00
50 lines
2697 bytes
2697 bytes
Hi!
If you have your class in '...\myclasses\MyProject\Application1.class'
then you must use the this syntax:
java MyProject.Application1
This syntax can be used directly from the 'Start' menu's 'Run' command (if it can find 'java.exe').
This works for me.
Because only '...\myclasses' is in CLASSPATH (java uses CLASSPATH and NOT standard path rules) you
have to tell java the relative path from a path that is included in CLASSPATH.
('...\myclasses\MyProject' is NOT included in CLASSPATH.
The standard '.' (point) path (current folder) does not seem to work (not for me anyway).
Let me know what happens!
--
Yours
Poul Bak
"Dave Bird" <dave@xemu.demon.co.uk> skrev i en meddelelse news:pNLIWfAqPap5EwRB@xemu.demon.co.uk...
> In article <%ufp5.3360$uy1.55513@news000.worldonline.dk>, Poul S. Bak
> <poul.bak@get2net.dk> writes
>
> you sent this posted and mailed, but didn't mark it so :-(
>
>
> >The easy way: Put this line in your Autoexec.bat file:
> >
> >CALL C:\PROGRA~1\BORLAND\JBUILD~1\BIN\SETVARS.BAT C:\PROGRA~1\BORLAND\JBUILD~1
> ################# #################
> >/a
> >
> >Don't use long filenames! ! ! ! ! (If you have installed somewhere else - adjust
> >the paths)
>
> Yes my JBUILD~1 is directly in C:\ [ not in C:\PROGRA~1\BORLAND\ ]
>
>
> >Of course it takes a a few bytes of memory (resident)- but who cares today as
> >long as it works.
>
> It doesn't work :-(
>
>
> I suspect JBuilder2's java.exe has a bug where it ignores any ClassPath
> specified in the environment, and always used the same default.
>
>
> --
> ^-^-^-@@-^-;-^ http://www.xemu.demon.co.uk/
> (..)__u news:alt.smoking.mooses
Technical Details
Message-ID:
<GDIp5.4266$zT1.85711@news010.worldonline.dk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<ERSh5.3516$Z6.144556@newsread1.prod.itd.earthlink.net><cTen5.7936$541.1365842@juliett.dax.net> <zLlu3sEqZdn5EwTm@xemu.demon.co.uk><%ufp5.3360$uy1.55513@news000.worldonline.dk> <pNLIWfAqPap5EwRB@xemu.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,3d0a2c521440dd68 X-Google-Attributes: gid1089d0,public From: "Poul S. Bak" <poul.bak@get2net.dk> Subject: Sv: Sv: Deploying an application Date: 2000/08/26 Message-ID: <GDIp5.4266$zT1.85711@news010.worldonline.dk> X-Deja-AN: 662629693 References: <ERSh5.3516$Z6.144556@newsread1.prod.itd.earthlink.net><cTen5.7936$541.1365842@juliett.dax.net> <zLlu3sEqZdn5EwTm@xemu.demon.co.uk><%ufp5.3360$uy1.55513@news000.worldonline.dk> <pNLIWfAqPap5EwRB@xemu.demon.co.uk> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: news-abuse@wol.dk X-Trace: news010.worldonline.dk 967267942 212.54.91.61 (Sat, 26 Aug 2000 07:32:22 MET DST) Organization: Customer of World Online X-MSMail-Priority: Normal Reply-To: "Poul S. Bak" <REMOVEUPTO.poul.bak@get2net.dk> NNTP-Posting-Date: Sat, 26 Aug 2000 07:32:22 MET DST Newsgroups: borland.public.jbuilder.java.api