Article View: borland.public.jbuilder.java.api
Article #2636Re: Sv: Sv: Deploying an application
From: Dave Bird
Date: Sat, 26 Aug 2000 00:00
Date: Sat, 26 Aug 2000 00:00
32 lines
2017 bytes
2017 bytes
In article <GDIp5.4266$zT1.85711@news010.worldonline.dk>, Poul S. Bak
<poul.bak@get2net.dk> writes
>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!
Whew! *finally* it worked. Including running from 'run'.
I'm not sure what happened before.
Is there an easy way to fire it from an icon, now? (being lazy here:
I could always revise enough CppBuilder to throw a command line from
an icon'ed app, or even ask which Java App to run then run it).
--
^-^-^-@@-^-;-^ http://www.xemu.demon.co.uk/
(..)__u news:alt.smoking.mooses
Technical Details
Message-ID:
<k$erKeA$C4p5EwTu@xemu.demon.co.uk>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> <GDIp5.4266$zT1.85711@news010.worldonline.dk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,3d0a2c521440dd68 X-Google-Attributes: gid1089d0,public From: Dave Bird <dave@xemu.demon.co.uk> Subject: Re: Sv: Sv: Deploying an application Date: 2000/08/26 Message-ID: <k$erKeA$C4p5EwTu@xemu.demon.co.uk> X-Deja-AN: 662722263 X-NNTP-Posting-Host: xemu.demon.co.uk:158.152.196.209 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> <GDIp5.4266$zT1.85711@news010.worldonline.dk> X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 967298927 nnrp-14:24116 NO-IDENT xemu.demon.co.uk:158.152.196.209 Organization: very little MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api