java

how to run java programming

Page 1 of 1

1 Replies - 856 Views - Last Post: 26 February 2009 - 03:24 AM Rate Topic: -----

#1 aien aryana  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 26-February 09

java

Posted 26 February 2009 - 03:08 AM

how to i run the java programming by using command prompt
Is This A Good Question/Topic? 0
  • +

Replies To: java

#2 mostyfriedman  Icon User is offline

  • The Algorithmi
  • member icon

Reputation: 727
  • View blog
  • Posts: 4,473
  • Joined: 24-October 08

Re: java

Posted 26 February 2009 - 03:24 AM

javac filename.java <<< this compiles the file and produces a class file
java filename <<< runs the code

but make sure that u are in the directory that has the file that u are trying to run
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1