Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Computer programmin/Openin folders in cmd

Options
  • 17-11-2007 1:38am
    #1
    Registered Users Posts: 19,705 ✭✭✭✭


    hey lads

    being 2 years since done computer programming and tried to run a java programme tonight on computer but forgot how to do it, so i open the cmd(little black window)

    and then D:

    so now i have D:\>

    how do i then go into the next folder.... which are in the following order:
    DCU\1st Year\Computer Programming\

    and then how do i run the programme... is it something like

    something.javac

    and then

    something.java

    Any help much appreciated...

    Thanks
    Ace


Comments

  • Registered Users Posts: 19,396 ✭✭✭✭Karoma


    cd DCU\1st Year\Computer Programming\
    Compile with: javac x.java
    once compiled, run with: java x


  • Registered Users Posts: 19,705 ✭✭✭✭Ace2007


    ok thanks - it was the cd bit that i forgot...


Advertisement