Results 1 to 6 of 6
Thread: Running Jar files in Windows
- 07-27-2012, 03:58 AM #1
Member
- Join Date
- Jul 2012
- Posts
- 2
- Rep Power
- 0
Running Jar files in Windows
Hi everyone
I am starting out in java and have been using slick 2d to help with programming my game.
I am having trouble on knowing how to export the file and then run it by itself on Windows OS
I have tried some ways but none have seemed to work
i do have java runtime environment 7 but it still doesn't work
if you have any idea of how to solve this problem please message me or reply to this topic
thanks
GRP
-
Re: Running Jar files in Windows
It's hard to know what's wrong based on the limited information you've provided. Have you tried to run the jar file from a cmd window? If so, does it produce any error messages?
- 07-27-2012, 10:10 AM #3
Re: Running Jar files in Windows
Not a Java 2D question. Moving to New to Java.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 08-06-2012, 07:50 PM #4
Member
- Join Date
- Jul 2012
- Posts
- 2
- Rep Power
- 0
Re: Running Jar files in Windows
Well i tried running it with java -jar name.jar and it would run but could not find lwjgl library and i'm using lwjgl and slick library and i have the both located in the workspace and have a separate folder when i export them but it still comes with an error. any suggestions?
Here is what i did and here is the error:

If you need more information let me know
thanks for your help
-GRP
-
Re: Running Jar files in Windows
You seem to be missing any class-path statements on the command line.
- 08-07-2012, 09:39 AM #6
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Similar Threads
-
Error While Running Windows Command Line Instruction
By divs1210 in forum AWT / SwingReplies: 5Last Post: 04-13-2011, 04:09 PM -
Running Java programs in windows 7
By jonytek in forum New To JavaReplies: 1Last Post: 02-09-2011, 04:45 AM -
How to test if server is running Windows 7?
By space889 in forum Advanced JavaReplies: 18Last Post: 07-21-2010, 01:37 AM -
running java under Windows 7
By newbie123 in forum New To JavaReplies: 3Last Post: 05-29-2010, 08:36 PM -
Errors running app in linux but not in Windows
By JohnST in forum New To JavaReplies: 3Last Post: 03-12-2010, 01:58 AM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks