2 Replies - 525 Views - Last Post: 05 March 2013 - 12:50 PM Rate Topic: -----

#1 poldz123  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 52
  • Joined: 26-October 12

How to I run my eclipse java game in windows

Posted 05 March 2013 - 11:41 AM

How do I run it my sample game from eclipse to windows 7 without using any CMD command?

Am I gonna use the .bat extension which I don't really know at all.
Is This A Good Question/Topic? 0
  • +

Replies To: How to I run my eclipse java game in windows

#2 farrell2k  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 841
  • View blog
  • Posts: 2,577
  • Joined: 29-July 11

Re: How to I run my eclipse java game in windows

Posted 05 March 2013 - 12:45 PM

File -> export -> Runnbale Jar.
Was This Post Helpful? 0
  • +
  • -

#3 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8334
  • View blog
  • Posts: 31,857
  • Joined: 06-March 08

Re: How to I run my eclipse java game in windows

Posted 05 March 2013 - 12:50 PM

In the .BAT file

JAVA MyClass

if the Java /bin directory is in the %PATH% variable. Else you will have to explicity insert it

"C:/Program File/Java/JRE6/bin/java" MyClass
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1