Author Topic: How to install library  (Read 7250 times)

Kaikelx

  • Newcomer
  • Posts: 2
  • Karma: +0/-0
    • View Profile
    • Email
How to install library
« on: September 13, 2012, 08:47:49 PM »
I was following the Java Roguelike Tutorial on roguebasin, and I cannot figure out where I supposed to put the libjcsi folders so that JCreator (which I use) can import them....

The tutorial had no mention of it, I cannot find a solution through google, as they all mention something about .jar files, which the library doesn't have.....

I have practically no experience with Java, and apologize if the answer is right in my face I'm too much of a noob to see it.

XLambda

  • Rogueliker
  • ***
  • Posts: 208
  • Karma: +0/-0
    • MSN Messenger - tau_iota@live.de
    • View Profile
    • The Weird Rogue
Re: How to install library
« Reply #1 on: September 13, 2012, 09:09:10 PM »
I was following the Java Roguelike Tutorial on roguebasin, and I cannot figure out where I supposed to put the libjcsi folders so that JCreator (which I use) can import them....

The tutorial had no mention of it, I cannot find a solution through google, as they all mention something about .jar files, which the library doesn't have.....

I have practically no experience with Java, and apologize if the answer is right in my face I'm too much of a noob to see it.

Hey there,

The only thing you need is the libjcsi.jar file. Just put it in the same folder with the rest of your class files. I really really recommend compiling via console, since it's easier, but if you can't code without your IDE, there's probably an option somewhere for including libraries in the class path. It's usually something like "project settings" or "build options". If you can't find it, check your tool's support forums.

Also, a fair warning right here: The tutorial doesn't go anywhere. I never got beyond the walking @. I might finish it one day if there is any interest, but for now Trystan's tutorial is really great for picking up the details past that stage.

EDIT: I assume you've checked out libjcsi from the googlecode repository? Can't find the jarfile in there? Look in the distro folder.
« Last Edit: September 13, 2012, 09:13:36 PM by XLambda »

guest509

  • Guest
Re: How to install library
« Reply #2 on: September 14, 2012, 08:29:19 AM »
  No worries Kaikelx. Noob programmers are about half of us.

Kaikelx

  • Newcomer
  • Posts: 2
  • Karma: +0/-0
    • View Profile
    • Email
Re: How to install library
« Reply #3 on: September 16, 2012, 03:56:44 PM »
Thanks for the help! (And the encouragement Jo )

Yeah, my plan was to figure out how to get the moving @ displayed on screen, shoehorn in another tutorial I found that makes a directional cave (which seemed easier than connected rooms), and then try my hand at getting a creature to chase me across.

I will check out Trystan's tutorial in depth, at first glance it seems really interesting (especially since he goes on to metroidvania, which is [one of] my favorite genres)