Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22
Hi i have an Acer Aspire One running Linpus Linux Lite v1.0.21.E and i am having issues with installing Java to the point where it's driving me mad. I want ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    15

    Help installing Java onto Linpus Linux

    Hi i have an Acer Aspire One running Linpus Linux Lite v1.0.21.E and i am having issues with installing Java to the point where it's driving me mad. I want to play Runescape, but the aplett does not initialize. Ive seen numerous guides on how to install it but none of them are clear enough! I am new to Linux so its hard . Could somebody please explain, in depth, how to install Java and get Runescape Working. Thanks.

    Spit.

  2. #2
    Linux User
    Join Date
    Jun 2006
    Location
    Scotland
    Posts
    267
    Have you seen "Add Apps to the Acer Aspire one"?

    Install Apps on the Aspire one

  3. #3
    Just Joined!
    Join Date
    Feb 2010
    Posts
    15
    thanks for the quick reply, im now trying to get it to work, will update whether successful or not

    spit

  4. #4
    Just Joined!
    Join Date
    Feb 2010
    Posts
    15
    i just have absolutley no idea, ive serached high and low on how to get Java installed, simply just cant do it. Might give up

    help

    xD

  5. #5
    Linux Newbie
    Join Date
    Sep 2004
    Location
    UK
    Posts
    160
    Assuming your using firefox (or mozilla based browser) and in a 32 bit environment (there's no 64 bit applet support at the moment).

    1. Download the JDk/JRE from Developer Resources for Java Technology (eg. jdk-6u18-linux-i586.bin)

    2. chmod 755 jdk-6u18-linux-i586.bin

    3. mkdir -p /opt/java

    4. cd /opt/java

    5. Run the downloaded java file (from step 1), will create a directory (jdk1.6.0_1 containing java

    6. ln -sf jdk1.6.0_18 jdk

    7. cd /usr/lib/mozilla/plugins

    8. ln -sf /opt/java/jdk/jre/plugin/i386/ns7/libjavaplugin_oji.so .


    Start firefox and type "aboutlugins" (that should read "about colon plugins") in the location bar. You should see java as a plugin.

    Works on all linux dist's I've used.
    In a world without walls and fences, who needs Windows and Gates?

  6. #6
    Just Joined!
    Join Date
    Feb 2010
    Posts
    15
    [user@localhost Desktop]$ chmod 755 jre-6u18-linux-i586.bin
    [user@localhost Desktop]$ mkdir -p /opt/java
    [user@localhost Desktop]$ cd /opt/java
    [user@localhost java]$ ln -sf jdk1.6.0_18 jre
    ln: cannot remove `jre': Permission denied
    [user@localhost java]$ cd /usr/lib/mozilla/plugins
    [user@localhost plugins]$ ln -sf /opt/java/jdk/jre/plugin/i386/ns7/libjavaplugin_oji.so
    ln: cannot remove `./libjavaplugin_oji.so': Permission denied
    [user@localhost plugins]$

    Well thats what happens, you say 'run' the file, when i click on it it asks me to install a patch which doesn't exist. So i have to just continue from there. Also i dont see the Java plugin.
    This however is the furthest ive got yet, so thanks. Pointers of where im going wrong would be great.

    spit.

  7. #7
    Linux Newbie
    Join Date
    Sep 2004
    Location
    UK
    Posts
    160
    Quote Originally Posted by spitfirejoe View Post
    [user@localhost Desktop]$ chmod 755 jre-6u18-linux-i586.bin
    [user@localhost Desktop]$ mkdir -p /opt/java
    [user@localhost Desktop]$ cd /opt/java
    [user@localhost java]$ ln -sf jdk1.6.0_18 jre
    ln: cannot remove `jre': Permission denied
    [user@localhost java]$ cd /usr/lib/mozilla/plugins
    [user@localhost plugins]$ ln -sf /opt/java/jdk/jre/plugin/i386/ns7/libjavaplugin_oji.so
    ln: cannot remove `./libjavaplugin_oji.so': Permission denied
    [user@localhost plugins]$

    Well thats what happens, you say 'run' the file, when i click on it it asks me to install a patch which doesn't exist. So i have to just continue from there. Also i dont see the Java plugin.
    This however is the furthest ive got yet, so thanks. Pointers of where im going wrong would be great.

    spit.
    You need to root. andn run the file from a command session with the "/opt/java" as your working directory.

    eg.

    open a xterm/terminal as root (sudo xterm ???)

    then complete commands 2 onwards in that terminal.

    Note with line "ln -sf jdk1.6.0_18 jre" replace "jdk1.6.0_18" with whatever directory the installer created.
    In a world without walls and fences, who needs Windows and Gates?

  8. #8
    Just Joined!
    Join Date
    Feb 2010
    Posts
    15
    I think i know how to finally get it to work. How do i find the directory that the installer created? Sorry if i seem an absolute noob but ive never used Linux before in my entire life .

  9. #9
    Linux Newbie
    Join Date
    Sep 2004
    Location
    UK
    Posts
    160
    It's created under your current working directory (it is with the JDK, which is what I usually install).

    So if you did "cd /opt/java" before you ran the installer, then the directory should be under "/opt/java".
    In a world without walls and fences, who needs Windows and Gates?

  10. #10
    Just Joined!
    Join Date
    Feb 2010
    Posts
    15
    ive found the directory, its just an icon labelled 'jre'...?

Page 1 of 3 1 2 3 LastLast

Posting Permissions

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