Thread: help me with linux

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 help me with linux 
    Registered Member
    Join Date
    Jan 2018
    Posts
    16
    Thanks given
    1
    Thanks received
    0
    Rep Power
    7
    I'm trying to host a RSPS on a linux server but i got weird errors when i try to start run.bat

    OS: Ubuntu 32 bit

    some help me ??

    Thanks !
    Reply With Quote  
     

  2. #2  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Use a Bourne shell (sh) to execute instead of a run.bat


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2018
    Posts
    16
    Thanks given
    1
    Thanks received
    0
    Rep Power
    7
    getting weird errors: http://prntscr.com/np4xh9
    Reply With Quote  
     

  4. #4  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by alexvdburg1 View Post
    getting weird errors: http://prntscr.com/np4xh9
    Type in the console: java -version
    If you do not get a result, you will have to install java first.
    After that you make a file called run.sh and inside there you put in your arguments.
    After that you locate to the location and execute the sh by doing: sh run.sh


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2018
    Posts
    16
    Thanks given
    1
    Thanks received
    0
    Rep Power
    7
    I have java already version "1.7.0_201

    @echo off
    title Runescape #317
    java -Xmx800m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
    pause
    is my script what i'm using anything wrong?
    Reply With Quote  
     

  6. #6  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by alexvdburg1 View Post
    I have java already version "1.7.0_201



    is my script what i'm using anything wrong?
    inside your sh file just try to have:
    Code:
    nohup java -Xmx800m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jan 2018
    Posts
    16
    Thanks given
    1
    Thanks received
    0
    Rep Power
    7
    Using your code and i get this now!
    http://prntscr.com/np50to
    Reply With Quote  
     

  8. #8  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by alexvdburg1 View Post
    Using your code and i get this now!
    http://prntscr.com/np50to
    Ok try:
    Code:
    nohup java -Xmx800m -cp bin:deps/poi.jar:deps/mysql.jar:deps/mina.jar:deps/slf4j.jar:deps/slf4j-nop.jar:deps/jython.jar:log4j-1.2.15.jar server.Server


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Jan 2018
    Posts
    16
    Thanks given
    1
    Thanks received
    0
    Rep Power
    7
    Message Console
    nohup: ignoring input and appending output to 'nohup.out'
    Reply With Quote  
     

  10. #10  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by alexvdburg1 View Post
    Message Console
    Now you can try and check if you have it hosted on your port that you decided in the source.
    You can check by doing for example:
    Code:
    sudo netstat -lpn |grep :PORTID
    or you can do:
    Code:
    ps -e|grep java


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 3
    Last Post: 06-19-2017, 03:47 PM
  2. Replies: 4
    Last Post: 07-23-2011, 06:22 AM
  3. Can some1 help me with my debian vps(linux)
    By heroofown in forum Help
    Replies: 1
    Last Post: 08-07-2010, 08:23 AM
  4. an easy problem im sure you can help me with
    By Jordzeh in forum Tutorials
    Replies: 3
    Last Post: 11-02-2007, 04:33 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •