Article View: borland.public.jbuilder.java.language
Article #17769Re: Unix platform problem
From: Lui Dussan
Date: Tue, 29 Sep 1998 00:00
Date: Tue, 29 Sep 1998 00:00
72 lines
3822 bytes
3822 bytes
New problem, that runtime command
Runtime r; //set up the Runtime class parameters to output finalout
Process p;
r = Runtime.getRuntime();
try {
p = r.exec(finalout);
}
catch (Exception ex){
}
doesn't invoke my finishB c program. The finalout buffer just has "/home/dussan/beacon/Gui/finishB"
However it does work on my PC. You have any ideas?
lui
Lui Dussan wrote:
> I got it!!!! Your not gonna believe what I was doing. I was setting the CLASSPATH environmental variable by typing set CLASSPATH...
> instead of setenv CLASSPATH. What an idiot huh?
> All I needed was the gui3.jar file in the path and it worked.
> thanks for your help pal
> lui
>
> Lui Dussan wrote:
>
> > Hey Brad another question, how do you call your application? I call it by typing "java Beacon3.GUI3" from a directory just above the
> > Beacon3 directory. In the Beacon3 directory my application class files are not zipped up.
> > lui
> >
> > Lui Dussan wrote:
> >
> > > So Brad your telling me I have to have 6 environment variables set including the CLASSPATH variable.
> > > That sucks. I have to tell you that I have JBuilder for my PC and I am transporting the application to UNIX. It looks like you
> > > have JBuilder on Linux. I have the gui3.zip archive which contains all necessary libraries including jdbc. The Classpath points
> > > to this gui3.zip file. Wouldn't that include the jdbc as well. I am still clueless as to what to do.
> > > lui
> > >
> > > Brad Pepers wrote:
> > >
> > > > Lui Dussan wrote:
> > > > >
> > > > > I have my CLASSPATH variable set to /home/dussan/java/gui3.zip and I am using
> > > > > "java Beacon3.GUI3" to invoke it but it keeps on giving me the same dammed
> > > > > message below.
> > > > > lui
> > > >
> > > > What about the jbcl.zip file? Is it not also in your CLASSPATH? I
> > > > think it needs to be. I have an application that sets things up
> > > > using a shell script like this:
> > > >
> > > > =========================================================================
> > > > #!/bin/sh
> > > >
> > > > SWING_JAR=/home/pepers/Java/swing-1.0.3/swingall.jar
> > > > JBUILDER_HOME=/dosd/jbuilder2
> > > > JBUILDER_LIB=$JBUILDER_HOME/lib
> > > > JDBC_JAR=/home/pepers/LR/postgresql.jar
> > > >
> > > > CLASSPATH=$SWING_JAR:$JBUILDER_LIB/jbcl2.0.jar:$JBUILDER_LIB/jbcl2.0-res.jar:$JBUILDER_LIB/jgl3.1.0.jar:$JDBC_JAR:/home/pepers
> > > >
> > > > java LinuxRetail.CustList
> > > > =========================================================================
> > > >
> > > > This is all pretty hard-coded and just for testing but it shows a bit
> > > > of what is needed to get JBuilder stuff running on a Unix OS (Linux in
> > > > this case).
> > > >
> > > > --
> > > > Brad Pepers
> > > > Linux Canada Inc. Home of Linux products in Canada!
> > > > http://www.linuxcanada.com Proud supporter of Cyclades, Red
> > > > brad@linuxcanada.com Hat, and Caldera.
Technical Details
Message-ID:
<36119FEC.A70C56EC@zorba.jpl.nasa.gov>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<360C2276.2DB69A32@zorba.jpl.nasa.gov> <360F14F2.B0A6DF4C@linuxcanada.com> <360FEA84.A45903F@zorba.jpl.nasa.gov> <3610174E.35C7F69A@linuxcanada.com> <36115F42.148602@zorba.jpl.nasa.gov> <36118E00.AB3A2CCC@zorba.jpl.nasa.gov> <3611901A.783A232C@zorba.jpl.nasa.gov>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,8b812c7a4409a188 X-Google-Attributes: gidf74b3,public From: Lui Dussan <dussan@zorba.jpl.nasa.gov> Subject: Re: Unix platform problem Date: 1998/09/29 Message-ID: <36119FEC.A70C56EC@zorba.jpl.nasa.gov> X-Deja-AN: 396208513 Content-Transfer-Encoding: 7bit References: <360C2276.2DB69A32@zorba.jpl.nasa.gov> <360F14F2.B0A6DF4C@linuxcanada.com> <360FEA84.A45903F@zorba.jpl.nasa.gov> <3610174E.35C7F69A@linuxcanada.com> <36115F42.148602@zorba.jpl.nasa.gov> <36118E00.AB3A2CCC@zorba.jpl.nasa.gov> <3611901A.783A232C@zorba.jpl.nasa.gov> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language