Thread: Eclipse Server From Linux?

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Eclipse Server From Linux? 
    Owner/Dev Great Kourend
    GreatKourend's Avatar
    Join Date
    Oct 2016
    Posts
    96
    Thanks given
    5
    Thanks received
    13
    Rep Power
    0
    Code:
    #!/bin/bash
    ./gradlew clean build installApp
    ./build/install/server/bin/server -Xmx2048m -Xms512m
    # java -Xmx1024m -cp build/classes:build/install/server/lib/*:extradeps/*: org.rs2server.Server
    Is my sh but there is no build folder?
    Reply With Quote  
     

  2. #2  
    Server Developer
    Argyros's Avatar
    Join Date
    Apr 2011
    Posts
    500
    Thanks given
    25
    Thanks received
    31
    Rep Power
    23
    It should be in the home or root workspace directory of your server.
    "/home/Root/workspace" default in Eclipse.
    Reply With Quote  
     

  3. #3  
    Owner/Dev Great Kourend
    GreatKourend's Avatar
    Join Date
    Oct 2016
    Posts
    96
    Thanks given
    5
    Thanks received
    13
    Rep Power
    0
    Quote Originally Posted by Argyros View Post
    It should be in the home or root workspace directory of your server.
    "/home/Root/workspace" default in Eclipse.
    There is no eclipse for linux servers?
    Reply With Quote  
     

  4. #4  
    Server Developer
    Argyros's Avatar
    Join Date
    Apr 2011
    Posts
    500
    Thanks given
    25
    Thanks received
    31
    Rep Power
    23
    Quote Originally Posted by natesg View Post
    There is no eclipse for linux servers?
    There is.



    Mine only has a GUI because of Gnome3.
    Reply With Quote  
     

  5. #5  
    Owner/Dev Great Kourend
    GreatKourend's Avatar
    Join Date
    Oct 2016
    Posts
    96
    Thanks given
    5
    Thanks received
    13
    Rep Power
    0
    Quote Originally Posted by Argyros View Post
    There is.



    Mine only has a GUI because of Gnome3.
    Code:
    Incremental java compilation is an incubating feature.
    :clean
    :compileJava
    :compileJava - is not incremental (e.g. outputs have changed, no previous execution, etc.).
    :compileJava FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':compileJava'.
    > Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory.
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    BUILD FAILED
    
    Total time: 4.923 secs
    Is there something to fix here?

    Is there a way to use it without gui?
    Reply With Quote  
     

  6. #6  
    Server Developer
    Argyros's Avatar
    Join Date
    Apr 2011
    Posts
    500
    Thanks given
    25
    Thanks received
    31
    Rep Power
    23
    Well first off do you have JDK installed and made sure to switch your compiler from the regular jre to jdk?
    Reply With Quote  
     

  7. #7  
    Owner/Dev Great Kourend
    GreatKourend's Avatar
    Join Date
    Oct 2016
    Posts
    96
    Thanks given
    5
    Thanks received
    13
    Rep Power
    0
    Quote Originally Posted by Argyros View Post
    Well first off do you have JDK installed and made sure to switch your compiler from the regular jre to jdk?
    I have jdk installed, what is this "JAVA_HOME" system variable thing?
    Reply With Quote  
     

  8. #8  
    Server Developer
    Argyros's Avatar
    Join Date
    Apr 2011
    Posts
    500
    Thanks given
    25
    Thanks received
    31
    Rep Power
    23
    You could do something like this
    Code:
    JAVA_HOME=/usr/java/jdk1.8.0_101
    export JAVA_HOME
    then do
    Code:
    echo "$JAVA_HOME"
    Which should set java home to the jdk version if you have that one, otherwise change it to the path of jdk you are using.
    Java_Home just sets your default java.
    paste these in your terminal and tell me what you get
    Code:
    javac -version
    
    java -version
    Reply With Quote  
     

  9. #9  
    Owner/Dev Great Kourend
    GreatKourend's Avatar
    Join Date
    Oct 2016
    Posts
    96
    Thanks given
    5
    Thanks received
    13
    Rep Power
    0
    Quote Originally Posted by Argyros View Post
    You could do something like this
    Code:
    echo "$JAVA_HOME"
    /usr/java/jdk1.8.0_101
    Which should set java home to the jdk version if you have that one, otherwise change it to the path of jdk you are using.
    I can't find the right path it's a cluster fuck.

    Code:
    openjdk version "1.8.0_101"
    OpenJDK Runtime Environment (build 1.8.0_101-b13)
    OpenJDK 64-Bit Server VM (build 25.101-b13, mixed mode)
    is the java version, but I can't find where it's saved, there's like 8 million java folders
    Reply With Quote  
     

  10. #10  
    Server Developer
    Argyros's Avatar
    Join Date
    Apr 2011
    Posts
    500
    Thanks given
    25
    Thanks received
    31
    Rep Power
    23
    Install FileZilla and find it from there, it should nomally be in usr folder.
    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. Starting the server from Linux
    By s ranged in forum Help
    Replies: 2
    Last Post: 07-16-2016, 09:21 PM
  2. Running More than 1 Server From 1 Ip
    By Olly-B-J in forum Tutorials
    Replies: 10
    Last Post: 09-21-2008, 04:00 PM
  3. Running More than 1 Server From 1 Ip
    By Olly-B-J in forum Tutorials
    Replies: 5
    Last Post: 08-29-2008, 06:04 AM
  4. Closing Your Server from Others
    By Nets8 in forum Tutorials
    Replies: 6
    Last Post: 08-23-2008, 12:04 AM
  5. reload your server from command
    By killamess in forum Tutorials
    Replies: 7
    Last Post: 04-17-2008, 03:42 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
  •