ubuntu install sun jdk 1.7 - graybull's Blog

ubuntu install sun jdk 1.7

graybull posted @ 2013年7月03日 18:32 in Unix/Linux with tags ubuntu JDK , 3297 阅读
  • download jdk-7u25-linux-x64.tar.gz from oracle site.
  • unpack jdk-7u25-linux-x64.tar.gz
  • Install it. Actually, you needn't install it, just copy the directory to a specified place.

     $ sudo mkdir /usr/local/java

     $ sudo cp jdk1.7.0_25 /usr/local/java

  • setting environment.

      $ sudo vi /etc/profile

      append the followings to the end of it:

    export JAVA_HOME=/usr/local/java/jdk1.7.0_25
    export CLASSPATH=.:$JAVA_HOME/lib
    export PATH=$JAVA_HOME/bin:$PATH
  • reload configuration

     $ source ./profile

  • update-alternatives

     we must do this so that the commands such as 'java' can be executed on console:

     $ sudo update-alternatives --install /usr/bin/java java /usr/local/java/jdk1.7.0_25/bin/java 300

     $ sudo update-alternatives --install /usr/bin/javac javac /usr/local/java/jdk1.7.0_25/bin/javac 300

     $ sudo update-alternatives --install /usr/bin/javap javap /usr/local/java/jdk1.7.0_25/bin/javap 300

     $ sudo update-alternatives --install /usr/bin/javadoc javadoc /usr/local/java/jdk1.7.0_25/bin/javadoc 300


Oscar Cuming 说:
2018年7月14日 22:32

Users of latest versions developed apps get rid from different types of functionality problems as compare to old versions. Students of all classes always want to hire top essay writing services online for writing of assigned projects.

Menmi 说:
2018年10月29日 22:33
I am very glad to read this info. I am very glad to see and to read
Programming Assignme 说:
2018年11月13日 17:44

Looking for someone write my programming assignment here are Expert assignment helpers are well efficient and capable of creating unique assignments for college or university students with programming assignment help.

All assignment help 说:
2018年11月16日 00:54

All Assignment Help reviews</a> sites. We strongly urge you to check our entire website once and we will assure you will find this review website very useful. Our hard work will be rewarded if students like you will appreciate our effort and spread the message about this site with your class-fellows and friends.

tank trouble 说:
2019年4月17日 15:21

Well, this is my first visit to your blog! Your blog provided us valuable information. You have done a marvelous job.

e payit online 说:
2019年5月13日 20:36

EpayItOnline is an online portal wherein you can pay your bills in no time. Also, it is a hassle-free method. If you do not have time to stand in the queue.

custom boxes 说:
2019年9月21日 04:22

Nice blog, I will keep visiting this blog very often.

t rex game 说:
2019年11月21日 16:17

I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.

Digital_Zone 说:
2019年12月15日 23:00 There are very many details this way to consider. This is a great point to raise up. I provide thoughts above as general inspiration but clearly you’ll find questions just like the one you retrieve where the most essential thing is going to be doing work in honest great faith. I don?t know if best practices have emerged about such thinggs as that, but Almost certainly that the job is clearly recognized as an affordable game. Both kids notice the impact of only a moment’s pleasure, throughout their lives. Bitcoin t shirt
homework help online 说:
2020年7月19日 21:08

great to acknowledge all your content!
<a href= "https://www.allassignmenthelp.com/uk/assignment-writing-help-uk.html"> Assignment writing service UK </a>

is the use of standa 说:
2020年8月06日 00:57

the perception of your in the content is crystal clear

what is dramatic iro 说:
2020年8月06日 20:11

the perception of your in the content is crystal clear

Graphic design compa 说:
2021年12月02日 20:02

he simplest method for introducing the JDK 7 is to do it with the Web Up8 Oracle Java OOS. In any case, it is accepted that this PPA is at times outdated. Likewise note the risks of utilizing a PPA.

how to Add Signature 说:
2022年8月09日 17:46

Gmail is a user-friendly interface that brings a lot of features to the users like Gmail Signature, Google Hangouts, and more. In case, you have to send multiple emails daily then you may allow to add Gmail Signature. how to Add Signature to Gmail This saves your time and also lets the body of mails have the signature of you as an individual or if as an entity.

wgu student portal l 说:
2022年8月20日 01:30

Student Portal - Western Governors University. Access the WGU student portal here. Students can find instructions for initial log in to the learning portal for the university. This will give you access to the WGU Student Portal, wgu student portal login which you will need to access in order to complete the financial aid process and/or make your first tuition 2021

登录 *

loading captcha image...
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee