Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 37

Thread: gmote - help installing a .sh file

  1. #11
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: gmote - help installing a .sh file

    Pick 1 as your default.. Then make sure it is by running this command from a terminal again.

    Code:
    java -version
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  2. #12
    Join Date
    Jul 2007
    Location
    England... UK
    Beans
    374
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: gmote - help installing a .sh file

    Ok, i followed your instructions and the output was the following -

    mckenzie@mckenzie-home:~$ sudo update-alternatives --config java
    [sudo] password for mckenzie:

    There are 5 alternatives which provide `java'.

    Selection Alternative
    -----------------------------------------------
    1 /usr/lib/jvm/java-6-sun/jre/bin/java
    2 /usr/bin/gij-4.2
    3 /usr/bin/gij-4.3
    4 /usr/lib/jvm/java-gcj/jre/bin/java
    *+ 5 /usr/lib/jvm/java-6-openjdk/jre/bin/java

    Press enter to keep the default[*], or type selection number: 1
    Using '/usr/lib/jvm/java-6-sun/jre/bin/java' to provide 'java'.
    mckenzie@mckenzie-home:~$ java -version
    java version "1.6.0_10"
    Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
    Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
    THE OFFICIAL SMILE - smiling once again!

    PHANTOM JOKER

  3. #13
    Join Date
    Jul 2007
    Location
    England... UK
    Beans
    374
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: gmote - help installing a .sh file

    But again i get the following message

    mckenzie@mckenzie-home:~$ Exception in thread "main" java.lang.NoClassDefFoundError: org/gmote/server/GmoteServerUiLinux
    Caused by: java.lang.ClassNotFoundException: org.gmote.server.GmoteServerUiLinux
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:320)
    Could not find the main class: org.gmote.server.GmoteServerUiLinux. Program will exit.
    THE OFFICIAL SMILE - smiling once again!

    PHANTOM JOKER

  4. #14
    Join Date
    Jul 2007
    Location
    England... UK
    Beans
    374
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: gmote - help installing a .sh file

    interestingly - when i change the default to number 3 i get this

    sudo update-alternatives --config java
    [sudo] password for mckenzie:

    There are 5 alternatives which provide `java'.

    Selection Alternative
    -----------------------------------------------
    * 1 /usr/lib/jvm/java-6-sun/jre/bin/java
    2 /usr/bin/gij-4.2
    3 /usr/bin/gij-4.3
    4 /usr/lib/jvm/java-gcj/jre/bin/java
    + 5 /usr/lib/jvm/java-6-openjdk/jre/bin/java

    Press enter to keep the default[*], or type selection number: 3
    Using '/usr/bin/gij-4.3' to provide 'java'.



    mckenzie@mckenzie-home:~$ /home/mckenzie/GmoteServerLinux2.0.0/GmoteServer.sh
    Starting GmoteServer 2.0 ...
    GmoteServer started.
    mckenzie@mckenzie-home:~$ Exception in thread "main" java.lang.NoClassDefFoundError: org.gmote.server.GmoteServerUiLinux
    at gnu.java.lang.MainThread.run(libgcj.so.90)
    Caused by: java.lang.ClassNotFoundException: org.gmote.server.GmoteServerUiLinux not found in gnu.gcj.runtime.SystemClassLoader{urls=[], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
    at java.net.URLClassLoader.findClass(libgcj.so.90)
    at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj .so.90)
    at java.lang.ClassLoader.loadClass(libgcj.so.90)
    at java.lang.ClassLoader.loadClass(libgcj.so.90)
    at gnu.java.lang.MainThread.run(libgcj.so.90)

    mckenzie@mckenzie-home:~$
    a slightly different error... (i also get the same message using 4 as default)
    THE OFFICIAL SMILE - smiling once again!

    PHANTOM JOKER

  5. #15
    Join Date
    Jul 2007
    Location
    England... UK
    Beans
    374
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: gmote - help installing a .sh file

    I tried reinstalling my java and got the following error

    E: sun-java6-doc: subprocess post-installation script returned error exit status 1
    i think this is because it asked me to download some documentation for java, give it root access and place it in my /tmp folder, which i failed to do... but im not sure.
    THE OFFICIAL SMILE - smiling once again!

    PHANTOM JOKER

  6. #16
    Join Date
    Jul 2007
    Location
    England... UK
    Beans
    374
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: gmote - help installing a .sh file

    any more help?
    THE OFFICIAL SMILE - smiling once again!

    PHANTOM JOKER

  7. #17
    Join Date
    Nov 2008
    Location
    Sheffield UK
    Beans
    9
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: gmote - help installing a .sh file

    hi

    hope one of you can help me. i want to run Gmote at startup. it is all installed an i can run it from the terminal, but i want it to run when i log in. im running 8.10, gnome start up. i have tried to follow peoples instructions, but can some one PLEASE help me, im going spare!!

    thanks in advance

    riktking

  8. #18
    Join Date
    Jan 2008
    Beans
    14

    Re: gmote - help installing a .sh file

    Quote Originally Posted by riktking View Post
    hi

    hope one of you can help me. i want to run Gmote at startup. it is all installed an i can run it from the terminal, but i want it to run when i log in. im running 8.10, gnome start up. i have tried to follow peoples instructions, but can some one PLEASE help me, im going spare!!

    thanks in advance

    riktking
    It's a bit clunky, but I came up with a solution. For it to work properly, Gmote Server requires that you be inside of its directory when you start it.

    If you haven't done so already, move the Gmote Server folder to ~/.gmote or something similar, so it stays out of your way.

    Next, we'll create a file using nano.

    Code:
    nano gmote
    Once nano is open, insert the following, being sure to change the path to where Gmote lives:
    Code:
    #!/bin/sh
    cd /home/USER/.gmote && ./GmoteServer.sh
    Next, we'll make it executable and move it to /usr/bin
    Code:
    chmod +x ./gmote
    sudo mv ./gmote /usr/bin/gmote
    On the Gnome menu, go to System>Preferences>Sessions and click Add. Name it whatever you want, and under command, put "/usr/bin/gmote" (without quotes). Save it, and you're done.
    Last edited by Remanifest; March 22nd, 2009 at 10:28 PM.

  9. #19
    Join Date
    Jan 2009
    Beans
    15
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: gmote - help installing a .sh file

    i had the same problem trying to install a ups monitoring software, but I resolved uninstalling sun-java6-bin from synaptic package manager and then reinstall.
    you need to choose "Mark for complete removal"

  10. #20
    Join Date
    Nov 2006
    Beans
    579

    Re: gmote - help installing a .sh file

    I am trying to just get it to run. I used firestarter to open up the ports, I extracted and ran the file in the directory and it comes up and says that it's getting packets from the gphone, but still having problems as I can't access it.

    The gphone lets me see it and try to connect to it, but it always says connection problem.

    I have another system that has windows and I disabled the firewall and change the IP in my router and instantly I'm having it running.

    Any help getting it with Linux

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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