This is something I have seen quite a few people on RSPS sites asking about. Running/editing a RSPS server/client in Linux. I'm not sure about pure Linux because I use Ubuntu but here it is.
A. you'll need to get an application called WINE.
Code:
1.Click on the Ubuntu Menu button and select either "add or remove apps" or "Ubuntu software center", depending on what version of Ubuntu you have installed.
2. Search for "WINE" in the software window that pops up. Select and install the application "WINE MICROSOFT WINDOWS CAPABILITY LAYER".
After it's added you should now be able to run Windows applications such as .exe, .bat, .msi, etc. Within the WINE environment.
B. Now you'll need to download and install Java JDK and JRE into WINE.
Code:
1. Get the most update versions of JDK and JRE here http://java.sun.com/javase/downloads/index.jsp. Make sure you select the regular Windows version.
2. Once downloaded right click on the program and select "properties".
3. Select the "Open With" tab; Select "add"; Look for "WINE WINDOWS PROGRAM LOADER" and select it. Now in the "Open With" window again select the check box next to "WINE WINDOWS PROGRAM LOADER".
4. Now close the properties window. And double click the program you downloaded. This should start an installation.
C. After Installing WINE and Java you should be able to start your server.
Code:
1. Open your server folder and look for your "compile.bat" and "run.bat" files.
2. Do the same thing you did for instructions: B2, and B3.
3. After setting them to run in WINE double click them and a window will come up asking you how it should be ran, select "Display" and it will start up the server/client.
D. If you get an error in your compile.bat or run.bat when trying to run them saying something like "cannot find file" read this.
Code:
1. Open the compile.bat, you'll need to change the place where it thinks java is installed. This is what I have to get mine running.
EX:
@echo off
"/home/anthony/.wine/dosdevices/c:/Program Files/Java/jdk1.6.0_12/bin/javac.exe" *.java -cp .;./lib/sbbi-upnplib-1.0.4.jar;./lib/jxta.jar
pause
2. Change the "anthony" part to your login name.
3. Make sure that you have your version of the jdk folder in the text above if not change it to yours :)
My run.bat looks like this and works.
EX:
@echo off
color 0a
title WorldScape v1 .1
java -Xmx512m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.08-ga-bin.jar server
You should be good after all that.. have fun