How to Install Java on Linux Lite - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Tutorials (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=21) +--- Thread: How to Install Java on Linux Lite (/showthread.php?tid=2510) |
Re: How to Install Java on Linux Lite - firenice03 - 08-29-2016 See if you can cd to the jvm directory Code: cd /usr/lib/jvm If not maybe this directory needs created prior?? Code: mkdir /usr/lib/jvm Code: mkdir /usr/lib/jvm/oracle_jdk8 Might be worth a try... If not it maybe a permissions issue? Re: How to Install Java on Linux Lite - waynebob - 08-29-2016 The second and third instructions allowed me to finish Jerry's tutorial (except for the last one which is probably for Jerry's computer?) Now I am going in circles trying to allow Java in my Firefox or Chromium browsers. Starting to regret even starting this, all I find including on Java's website includes simlinks and I don't want to screw up this new install any more than I already might have. Thanks for your help, Wayne. Re: How to Install Java on Linux Lite - firenice03 - 08-29-2016 His last is an output... What do you get when you run? Code: java -version Re: How to Install Java on Linux Lite - waynebob - 08-29-2016 linuxlite@linuxlite-H170-D3HP:~$ java -version The program 'java' can be found in the following packages: * default-jre * gcj-5-jre-headless * openjdk-8-jre-headless * gcj-4.8-jre-headless * gcj-4.9-jre-headless * openjdk-9-jre-headless Try: sudo apt install <selected package> linuxlite@linuxlite-H170-D3HP:~$ Re: How to Install Java on Linux Lite - waynebob - 08-29-2016 I even did both browser Java stuff on their website and neither browser shows the plugins or will work at Pogo for the wife's game. Crap. https://www.java.com/en/download/help/enable_browser_ubuntu.xml Re: How to Install Java on Linux Lite - firenice03 - 08-29-2016 OK so java isn't installed yet.. So I assume you've downloaded java and its in your download folder if so... You can open terminal from here... This will unzip/install Code: tar -zxvf jre-* -C /usr/lib/jvm/oracle_jdk8 --strip-components=1 Allow to run then Code: touch /etc/profile.d/oraclejdk.sh The next command will open the newly created file in a text editor (leafpad - similar to notepad) Code: leafpad /etc/profile.d/oraclejdk.sh Leafpad will be blank - copy the next few lines into the document and save.. Its "coded" to ease selecting, just select and copy then paste into leafpad) Code: export J2SDKDIR=/usr/lib/jvm/oracle_jdk8 Once you have the above pasted and saved (file-save) you can close. then in the terminal window Code: source /etc/profile.d/oraclejdk.sh Re: How to Install Java on Linux Lite - firenice03 - 08-29-2016 You're just about there - I've installed Oracle java this way several times I use it for work and once installed it works fine... I don't use pogo - but have had to "support" it for some friends - Pogo uses a lot of flash.. I checked and was prompted to update my flash (adobe) - prompts for .tar.gz and apt... Don't use yum or rpm (other distro's).. I'll look to see if I see anything in regards to flash here.. but I assume pretty straight forward Flash is installed by default.. Re: How to Install Java on Linux Lite - firenice03 - 08-29-2016 Once java is installed.. Code: java -version dad@TRCD-LLMini:$ java -version java version "1.8.0_91" Java SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot Client VM (build 25.91-b14, mixed mode) If you need the java control panel after its installed you can run the following in terminal..(it will open a GUI) Code: /usr/lib/jvm/oracle_jdk8/bin/jcontrol Re: How to Install Java on Linux Lite - waynebob - 08-29-2016 This is what I show now. linuxlite@linuxlite-H170-D3HP:~$ java -version The program 'java' can be found in the following packages: * default-jre * gcj-5-jre-headless * openjdk-8-jre-headless * gcj-4.8-jre-headless * gcj-4.9-jre-headless * openjdk-9-jre-headless Try: sudo apt install <selected package> linuxlite@linuxlite-H170-D3HP:~$ I think this is a lost cause, the last instructions did not go perfectly. Both Firefox and Chromium are complaining about Flash, Chrome is okay. The Java for Perfect Pair Solitaire is still MIA. :-) Tired and will look at this again in morning. Thanks for your help, I am getting too old (67) for all this brain teasing. Re: How to Install Java on Linux Lite - firenice03 - 08-29-2016 Is there any errors when running the script? Code: tar -zxvf jre-* -C /usr/lib/jvm/oracle_jdk8 --strip-components=1 Something to confirm from the Java download page https://www.java.com/en/download/linux_manual.jsp You downloaded the correct version for your OS? - Java x64 for 64bit LL or Java for 32bit LL |