executable file


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 7 of 7

Thread: executable file

Hybrid View

  1. #1
    alex cad1374 Guest

    executable file


    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?

  2. #2
    Paul Clapham Guest

    Re: executable file

    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?




  3. #3
    alex Guest

    Re: executable file


    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?

    >
    >



  4. #4
    al Guest

    Re: executable file


    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?

    >>
    >>

    >



  5. #5
    Paul Clapham Guest

    Re: executable file

    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?

    > >
    > >

    >




  6. #6
    Mohneesh Guest

    Re: executable file


    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

  7. #7
    mohneesh Guest

    Re: executable file


    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?

    >>
    >>

    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center