Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Settlers of Catan Java Applet won't load

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Settlers of Catan Java Applet won't load

    Hi guys,

    Right off the bat - I have ZERO java knowledge Did some programming some years back, but bye now it's all long gone. What I'm trying to do is load a java applet to play Settlers of Catan board game. The applet is publicly available and ppl play it just fine AFAIK, but I'm a retard and can't

    The project is available here - JSettlers2 - Java Settlers of Catan | Free Games software downloads at SourceForge.net

    The instructions are for monkeys - start the server first, then run the client and, if a friend wants to connect to your server, he just needs to know your IP and port number (using the client). But somehow I can't start the server. When I run the dedicated jar file (JSettlersServer), it just.. doesn't do shit. No error messages, no window, no nothing. When I try to load it via command line, I get the following message - "JDBC driver is unavailable: com.mysql.jdbc.Driver" and it just hangs there, I have to break it with CTRL+C. Friends trying to connect get the same message - Server is unavailable, connection refused.

    One more thing - I do NOT want nor need a mysql server. According to the instructions, I don't really need it if I don't want to maintain a user db, which I don't. However, I do have PostgreSQL 8.4 installed on my machine.

    Anyone has any ideas how I can start this thing?

    Thanks!


  2. #2
    Member
    Join Date
    Feb 2012
    Posts
    58
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default Re: Settlers of Catan Java Applet won't load

    The program wants MySQL even you don't want thousand times. Maybe it uses MySQL driver to connect to a remote database server, so make it happy by putting MySQL driver jar files to the program's classpath. You won't have to install MySQL on your computer, I guess.

Similar Threads

  1. newbie question: Error: Could not find or load main class Java Result: 1
    By ideaman in forum What's Wrong With My Code?
    Replies: 6
    Last Post: January 1st, 2012, 11:40 PM
  2. (JNA) java.lang.UnsatisfiedLinkError: Unable to load library
    By Shockah in forum Java Native Interface
    Replies: 4
    Last Post: October 3rd, 2011, 11:29 AM
  3. Java Applet Will Not Load.
    By PaulMoretti in forum What's Wrong With My Code?
    Replies: 3
    Last Post: August 17th, 2011, 05:42 AM
  4. Replies: 1
    Last Post: March 21st, 2011, 09:01 AM
  5. Image Load
    By shadihrr in forum Java Theory & Questions
    Replies: 4
    Last Post: August 26th, 2010, 06:56 AM