How would I create an executable file ? The reason is that everytime that
I 'm trying to compile my application in ms-dos environment it gave me an
error. Do you think is because I'm using JBUILDER and its no picking up some
functions?
Printable View
How would I create an executable file ? The reason is that everytime that
I 'm trying to compile my application in ms-dos environment it gave me an
error. Do you think is because I'm using JBUILDER and its no picking up some
functions?
Are you asking how to compile a class in the DOS environment? Or what? You
haven't given us much information to work with.
<alex cad1374> wrote in message news:39e4bb11$1@news.devx.com...
>
> How would I create an executable file ? The reason is that everytime that
> I 'm trying to compile my application in ms-dos environment it gave me an
> error. Do you think is because I'm using JBUILDER and its no picking up
some
> functions?
What I'm saying how would you compile this class or application if you are
in dos?
When I am in dos c:\ , I try c:\javac name.java and did not work and also
I try all the other commands and did not work.
"Paul Clapham" <pclapham@core-mark.com> wrote:
>Are you asking how to compile a class in the DOS environment? Or what?
You
>haven't given us much information to work with.
>
><alex cad1374> wrote in message news:39e4bb11$1@news.devx.com...
>>
>> How would I create an executable file ? The reason is that everytime that
>> I 'm trying to compile my application in ms-dos environment it gave me
an
>> error. Do you think is because I'm using JBUILDER and its no picking up
>some
>> functions?
>
>
alex,
I suspect the problem lies in the path you defined for the location of the
java compiler.In most cases it is in
c:\jdk1.x\bin\javac name.java
Make sure as well the path for name.java is correctly defined.
Al.
"alex" <cad1374@yahoo.com> wrote:
>
>What I'm saying how would you compile this class or application if you
are
>in dos?
> When I am in dos c:\ , I try c:\javac name.java and did not work and
also
>I try all the other commands and did not work.
>
>"Paul Clapham" <pclapham@core-mark.com> wrote:
>>Are you asking how to compile a class in the DOS environment? Or what?
> You
>>haven't given us much information to work with.
>>
>><alex cad1374> wrote in message news:39e4bb11$1@news.devx.com...
>>>
>>> How would I create an executable file ? The reason is that everytime
that
>>> I 'm trying to compile my application in ms-dos environment it gave me
>an
>>> error. Do you think is because I'm using JBUILDER and its no picking
up
>>some
>>> functions?
>>
>>
>
You STILL haven't given us much information towork with. What does "Did not
work" mean? Do you get some kind of error message? If so, what is it?
Chances are either your path or your classpath are incorrect, as JBuilder
takes care of these details for you.
PC2
alex <cad1374@yahoo.com> wrote in message news:39e6066f$1@news.devx.com...
>
> What I'm saying how would you compile this class or application if you
are
> in dos?
> When I am in dos c:\ , I try c:\javac name.java and did not work and
also
> I try all the other commands and did not work.
>
> "Paul Clapham" <pclapham@core-mark.com> wrote:
> >Are you asking how to compile a class in the DOS environment? Or what?
> You
> >haven't given us much information to work with.
> >
> ><alex cad1374> wrote in message news:39e4bb11$1@news.devx.com...
> >>
> >> How would I create an executable file ? The reason is that everytime
that
> >> I 'm trying to compile my application in ms-dos environment it gave me
> an
> >> error. Do you think is because I'm using JBUILDER and its no picking up
> >some
> >> functions?
> >
> >
>
are you asking for .exe files or .class files..
Since one can make both.
through jdk: class files use: javac <filename.java>
if asking for .exe files.
check out:forum of java.sun.com.
there you will find solution
Bye
Sorry to interrupt between both of you.
set the path in autoexec.bat i.e.,
IS your error like:
BAD Command while u are using jdk
then go to autoexec.bat.
type this:
SET CLASSPATH = c:\<dir name>\bin;%PATH%;
hope it might help you
"alex" <cad1374@yahoo.com> wrote:
>
>What I'm saying how would you compile this class or application if you
are
>in dos?
> When I am in dos c:\ , I try c:\javac name.java and did not work and
also
>I try all the other commands and did not work.
>
>"Paul Clapham" <pclapham@core-mark.com> wrote:
>>Are you asking how to compile a class in the DOS environment? Or what?
> You
>>haven't given us much information to work with.
>>
>><alex cad1374> wrote in message news:39e4bb11$1@news.devx.com...
>>>
>>> How would I create an executable file ? The reason is that everytime
that
>>> I 'm trying to compile my application in ms-dos environment it gave me
>an
>>> error. Do you think is because I'm using JBUILDER and its no picking
up
>>some
>>> functions?
>>
>>
>