4 Replies - 133 Views - Last Post: 13 September 2012 - 01:38 PM Rate Topic: -----

#1 ChillyFlashER  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 13-September 12

Problem build with Slick2d

Posted 13 September 2012 - 11:57 AM

Hello, I have just started programming in Java. I started programming with Slick2d after a few hours, but I got stuck on building the jar successfully. I have tried many tutorials, but still have not got it working. I do not know if this is against the rules, but I wonder if somebody would like to fix my project. If not is there any good well documented way to get it working? I am currently using NetBeans and the most tutorials I find is in Eclipse.

So the issue I am having is that it do not find the lwjgl natives, I do not know what more to say... Is there maybe a starting project that have all the setups allready working? or something like that. I would like to make the program a applet too, but it is not as important.

Is This A Good Question/Topic? 0
  • +

Replies To: Problem build with Slick2d

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 6432
  • View blog
  • Posts: 23,423
  • Joined: 12-June 08

Re: Problem build with Slick2d

Posted 13 September 2012 - 12:41 PM

Quote

. I do not know if this is against the rules, but I wonder if somebody would like to fix my project.


Hmm.. no. We expect you to do your own work and offer up specific questions about your code so we would be able to more effectively help you solve your problem and learn...
Was This Post Helpful? 0
  • +
  • -

#3 ChillyFlashER  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 13-September 12

Re: Problem build with Slick2d

Posted 13 September 2012 - 12:52 PM

Sorry, but as I said it is really hard to find some working documentation. And when I have got it working I will not even know what I did to solve it...
Was This Post Helpful? 0
  • +
  • -

#4 pbl  Icon User is offline

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

Reputation: 8016
  • View blog
  • Posts: 31,118
  • Joined: 06-March 08

Re: Problem build with Slick2d

Posted 13 September 2012 - 01:32 PM

View PostChillyFlashER, on 13 September 2012 - 02:57 PM, said:

So the issue I am having is that it do not find the lwjgl natives,

What is lwjql ?
Jar is easy
http://docs.oracle.c...asicsindex.html

> jar -cf myjar.jar *.class
or
> jar cmf myjar.jar manifest.mf *.class
Was This Post Helpful? 0
  • +
  • -

#5 ChillyFlashER  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 13-September 12

Re: Problem build with Slick2d

Posted 13 September 2012 - 01:38 PM

lwjgl(.org) is a part of OpenGL in java. I do not know much about what you call it. But it is a library that lets you use OpenGL in java easy.

The issue with packing the Jar is that lwjgl needs some native libraries, to run. Personally I think this is really strange because I can run it in NetBeans but I can not run a Jar file, sometimes it will not even build.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1