Thread: Running an RSPS on Ubuntu (Linux)

Page 1 of 3 123 LastLast
Results 1 to 10 of 29
  1. #1 Running an RSPS on Ubuntu (Linux) 
    Registered Member playsoon's Avatar
    Join Date
    Dec 2008
    Age
    37
    Posts
    129
    Thanks given
    0
    Thanks received
    0
    Rep Power
    29
    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

    Reply With Quote  
     

  2. #2  
    Registered Member
    craig903's Avatar
    Join Date
    Sep 2007
    Age
    30
    Posts
    1,357
    Thanks given
    14
    Thanks received
    92
    Rep Power
    238
    Nice!
    Visit Rune Miracle Here
    Reply With Quote  
     

  3. #3  
    Registered Member playsoon's Avatar
    Join Date
    Dec 2008
    Age
    37
    Posts
    129
    Thanks given
    0
    Thanks received
    0
    Rep Power
    29
    Remember that this is for Ubuntu Linux. I'm not sure about other Linux versions.

    Reply With Quote  
     

  4. #4  
    glge
    Guest
    you don't need WINE... just create a shell script (.sh) with the command you have in your batch file.
    Reply With Quote  
     

  5. #5  
    Registered Member playsoon's Avatar
    Join Date
    Dec 2008
    Age
    37
    Posts
    129
    Thanks given
    0
    Thanks received
    0
    Rep Power
    29
    Quote Originally Posted by glge View Post
    you don't need WINE... just create a shell script (.sh) with the command you have in your batch file.
    I have .sh files and they don't run in my Ubuntu for some reason. I have never been able to get one to work. This seems the easiest way to do it.

    Reply With Quote  
     

  6. #6  
    PokeNation! Xaves's Avatar
    Join Date
    Dec 2007
    Age
    32
    Posts
    3,476
    Thanks given
    356
    Thanks received
    788
    Rep Power
    646
    nice
    Reply With Quote  
     

  7. #7  
    glge
    Guest
    Quote Originally Posted by playsoon View Post
    I have .sh files and they don't run in my Ubuntu for some reason. I have never been able to get one to work. This seems the easiest way to do it.
    you need to chmod them (you can right click the file, go to properties and set to executable).
    Reply With Quote  
     

  8. #8  
    Registered Member playsoon's Avatar
    Join Date
    Dec 2008
    Age
    37
    Posts
    129
    Thanks given
    0
    Thanks received
    0
    Rep Power
    29
    Quote Originally Posted by glge View Post
    you need to chmod them (you can right click the file, go to properties and set to executable).
    It's already got permissions to execute. And when I select "Run In Terminal" It does seem to run it, just not with interface that I'm used to seeing in windows. And it won't load the Client window up for the client. Just says it's running, like the server.

    Reply With Quote  
     

  9. #9  
    Registered Member
    Apower's Avatar
    Join Date
    Sep 2008
    Age
    30
    Posts
    824
    Thanks given
    7
    Thanks received
    15
    Rep Power
    94
    2or just type "java -Xmx500ms server" in terminal in right folder.
    Reply With Quote  
     

  10. #10  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Like he said... you dont need Wine...

    Also seeing as most people would run a Linux Distro under a VPS / Dedicated server... all that you have explained would need to be done in terminal...

    So maybe you should explain also the way to do this in terminal
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •