![]() When a new version comes out you only change 1 simple setting so that, for example, `current-java' points to `jdk2.0' (or any other version you wish to use). Note that these are all using the " /opt/java/current-java" sym-link. # here are the complete instructions for updating to a new JDK versionħ. # if you need to update the jdk version, simply delete current-java and recreate it so that is points to the folder containing the most recent version of java # /opt/java/current-java now points to /opt/java/jdk1.7.0_67 Sudo ln -s /opt/java/jdk1.7.0_67 /opt/java/current-java Create a sym-link for the current JDK version.īy pointing `current-java' to the folder containing the current JDK version you can make the update process easier. Create and change directory to /opt/java and extract the. Within the Terminal, change directory to where the JDK was downloaded (in my case ~/Downloads) and copy the. If you see "x86_64" (amd64, ia64, alpha, or any other 64bit string) you need to download the 64bit JDK version. You can use the following command to determine which JDK version to download: rpm" file.ĭownload the file into your Downloads directory.įor example /home/YOUR_USERNAME/Downloads Using your browser, download Oracle JDK from here.Ĭhoose the correct version for your system architecture: 32-bit (x86) or 64bit (圆4).ĭownload the Linux version which ends in the ". Sudo apt-get remove openjdk* icedtea* default-jre default-jdk gcj-jre gcj-jdk icedtea-plugin icedtea-pluginģ. # OpenJDK JDK/JRE, IcedTea JDK/JRE/browser-plugin, and GCJ JDK/JRE # Remove everything unrelated to Oracle Java: Remove the current OpenJDK or IcedTea installation(s). Typically for KDE you can also do: Alt + F2 -> konsole -> EnterĢ. Typically for Gnome you can also do: Alt + F2 -> gnome-terminal -> Enter Open up a new Terminal window: Menu -> Accessories -> Terminal The installation for JRE is very similar but probably not 100% compatible with this guide.ġ. Note: At the time of writing the current 64bit version was jdk-7u67-linux-圆4.tar.gz.Ĭhange the commands below to use the correct filename which you have downloaded. # Quickly jump to the update-alternatives section. # Get the update-alternatives helper tool here. # If you wish to Install Oracle JDK, continue on the first section. # If you need to Update your Oracle JDK version, click here. ![]() I recommend installing Oracle JDK using this guide because updating to a new JDK version is an extremely simple 3-step process. Hopefully this saves someone time in the future.This tutorial is a more complete version of the existing tutorials at: go into "install4j" and pick "thinkorswim.png" Click browse and go to "/home/user/thinkorswim" then press ctrl + H while browsing to reveal hidden folders. If your like me you want the same icon too so (in mint cinnamon) go to the basic tab in properties. If you aren't used to the terminal than right click -> properties -> permissions -> allow executing file as program (or similar). It installed to this directory by default for my version. If you followed the install script defaults then change user to be your home directory username. It just goes to the directory of the java executable. In that put the following: #!/bin/shĮxport PATH=/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/:$PATHĮxec /home/user/thinkorswim/thinkorswim check and make sure that the export path does match up on your system by following it. So open a text editor/nano/vi/etc file and name it thinkorswim2 (or whatever you want). ![]() I tried a variety of things but the one thing that seemed to work best is by making my own executable script and replacing the desktop shortcut with it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |