• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to run a.class file?  RSS feed

 
dennie westerman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ive written some code, compiled it using javac and as a result of that i now have a .class file.
but the question is how do i now run it as a program? in my book it states " run the program by starting the JVM with the .class file" do i need to download this jvm? or what do i do next to actually see my little coding in action?

any help would be appreciated a lot!!! tx in advance!!
 
dennie westerman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ah i get it i had a page stuck together it was easy actually .
tx anyway
 
fred rosenberger
lowercase baba
Bartender
Posts: 12565
49
Chrome Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad you were able to figure it out!!!
 
Campbell Ritchie
Marshal
Posts: 56578
172
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
 
dennie westerman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i like this site/forum allready, what a warm welcome!!
anyway good luck with your endeavours in the world of JAVA and tx a bunch.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!