StendhalLocalhostServerOnLinux: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Qwertydragon
imported>Kribbel
m link for skipping
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
*Command-line access ''(ask system administrator if it's a problem)''
*Command-line access ''(ask system administrator if it's a problem)''


For '''easy''' H2 database configuration (which is shipped with Stendhal and is installation-free) just skip straight to '''Choosing the Java Virtual Machine'''.
For '''easy''' H2 database configuration (which is shipped with Stendhal and is installation-free) just skip straight to '''[[StendhalLocalhostServerOnLinux#Choosing_the_Java_Virtual_Machine|Choosing the Java Virtual Machine]]'''.


For '''advanced''' MySQL configuration, keep reading.
For '''advanced''' MySQL configuration, keep reading.
Line 136: Line 136:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
</pre>
</pre>

''<span style="color:red;">DEPRECATED:</span> "log4j.jar" is now intended to be located in "libs" directory''

Please open runserver.sh in a text editor. You'll see the classpath defined there, something like
Please open runserver.sh in a text editor. You'll see the classpath defined there, something like
LOCALCLASSPATH=.:data/script/:data/conf/:stendhal-server-$STENDHAL_VERSION.jar:marauroa.jar:mysql-connector.jar:log4j.jar:commons-lang.jar
LOCALCLASSPATH=.:data/script/:data/conf/:stendhal-server-$STENDHAL_VERSION.jar:marauroa.jar:mysql-connector.jar:log4j.jar:commons-lang.jar