my dog learned polymorphism*
The moose likes Beginning Java and the fly likes Regarding Compile and Run Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Regarding Compile and Run" Watch "Regarding Compile and Run" New topic
Author

Regarding Compile and Run

Firoz Noor
Greenhorn

Joined: Oct 21, 2007
Posts: 16
Dear Friends

I am totally new in Java environmnt & facing problem to complie and run the simple & small Java program at Text Pad, At the time of compilation its asking the path name, but I already specified the path.

Now I am confused my path defined is right or whats! the steps shoudl I take kindly expecting from you.

Thanking you all,

Firoz.
Jiuxing Liu
Greenhorn

Joined: Sep 08, 2007
Posts: 3
Simple like this :
(Win 2000)

java_home like this : e:\jdk
path like this : %java_home%\bin
classpath like this : %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;

if your OS is others , don't like this !!
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3355

Howdy firoz,

I think these links might help you. Patiently look into these as they are the foundation.

  • How to run my program
  • How to set the classpath


  • Good luck
    [ January 01, 2008: Message edited by: Raghavan Muthu ]

    Everything has got its own deadline including one's EGO!
    [CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
    Firoz Noor
    Greenhorn

    Joined: Oct 21, 2007
    Posts: 16
    Originally posted by Jiuxing Liu:
    Simple like this :
    (Win 2000)

    java_home like this : e:\jdk
    path like this : %java_home%\bin
    classpath like this : %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;

    if your OS is others , don't like this !!


    Dear Friend Liu

    Many thanks for your kind reply.
    Firoz Noor
    Greenhorn

    Joined: Oct 21, 2007
    Posts: 16
    Dear Friend Ragavan

    Many thanks for your kind reply.
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Regarding Compile and Run