redhat linux卸载默认的openjdk与安装sun的jdk - graybull's Blog

redhat linux卸载默认的openjdk与安装sun的jdk

graybull posted @ 2013年4月15日 19:12 in Unix/Linux with tags jdk java linux install , 11777 阅读

redhat enterprise linux 6.1系统中默认安装了openjdk,可是我想用的是sun的jdk。

  • 卸载openjdk
  • 安装sun的jdk
  • 配置环境变量

 

卸载openjdk

1) 查看openjdk的包

# rpm -qa | grep openjdk

# rpm -qa | grep java

2)卸载

#rpm -qa| grep openjdk|xargs rpm -e --nodeps

#rpm -e --nodeps java-*-gcj-*.x86_64

安装sun的jdk

到sun的官方网站下载jdk的rpm包,然后安装:

#rpm -ivh jdk-*.rpm

配置环境变量

可修改配置文件/etc/profile,在该文件最后添加:

 

export JAVA_HOME=/usr/java/jdk1.7.0_15
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib
#source /etc/profile   
 
使得配置生效。

 

Avatar_small
queensland-assignmen 说:
2018年11月26日 04:33

Pretty happy to read about this.

Avatar_small
svchost exe 说:
2019年5月27日 20:12

I hope you must try this and regular keep in touch.

Thanks...

Avatar_small
svchost.exe virus 说:
2019年5月27日 20:14

You can share this web link to your friends and colleague...

Avatar_small
jasonroy 说:
2019年7月24日 01:48

Before purchasing complete and best <a href="https://www.quickboxespackaging.com/product/custom-cigarette-boxes/">Custom Cigarette Packaging by quickboxespackaging.com</a> where most of the time I personaly visit this blog for more info you can visit at the given link as this company is one of the best packaging firm. Good luck.

Avatar_small
jasonroy 说:
2019年7月24日 01:48

Before purchasing complete and best Custom Cigarette Packaging by quickboxespackaging.com where most of the time I personaly visit this blog for more info you can visit at the given link as this company is one of the best packaging firm. Good luck.

Avatar_small
Nikki Hope 说:
2019年8月07日 09:06

I am happy to find much useful information in the post, writing sequence is awesome, I always look for quality content, thanks for sharing valueable information about <a href="https://www.dukepackaging.com/custom-boxes/candle-packaging-boxes/">Candle Boxes Packaging</a>.

Avatar_small
Nikki Hope 说:
2019年8月07日 09:09

I am happy to find much useful information in the post, writing sequence is awesome, I always look for quality content, thanks for sharing valueable information about Best Quality Custom Candle Boxes.

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

I know your expertise on this. I must say we should have an online discussion on this. Writing only comments will close the discussion straight away! And will restrict the benefits from this information.

Avatar_small
Custom Product Packa 说:
2019年12月29日 19:05

I feel exceptionally appreciative that I read this. It is exceptionally useful and extremely useful and I extremely took in a great deal from it.

Avatar_small
Alyssa 说:
2022年12月14日 02:02

Red Hat Linux is a distribution of the Linux operating system, developed and maintained by the company Red Hat. Red Hat Linux is a commercial product that is based on the open-source Linux kernel and includes International Travel a range of additional software and tools, such as the GNOME desktop environment, the LibreOffice office suite, and the Mozilla Firefox web browser.

Avatar_small
seo service UK 说:
2023年10月31日 23:08

I truly like you're composing style, incredible data, thankyou for posting

Avatar_small
오락실도메인 说:
2023年11月11日 18:51

Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates.

Avatar_small
무지개벳 이벤트 说:
2023年11月11日 19:42

Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates.

Avatar_small
토토사이트추천 说:
2023年11月11日 20:12

"I’m happy I located this blog! From time to time, students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people.I regularly visit this site to check out the events and functions and sometimes for resources. However, it has been a while that you have shared some news about latest or upcoming events.
"

Avatar_small
해외정식사이트 说:
2023年11月11日 20:15

Nice information, significant and splendid arrangement, as offer extraordinary stuff with brilliant considerations and thoughts, heaps of unimaginable information and inspiration, the two of which I need, because of offer such a strong information here.

Avatar_small
안전놀이터순위 说:
2023年11月11日 21:04

Much obliged to you again for all the learning you disperse, Good post. I was extremely intrigued by the article, it's very rousing I ought to concede. I like visiting your site since I generally go over intriguing articles this way one.

Avatar_small
슈어맨주소 说:
2023年11月11日 21:19

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

Avatar_small
로투스홀짝중계 说:
2023年11月11日 21:28

Astonishingly made article, if just all bloggers offered a tantamount degree of substance as you, the web would be a phenomenally improved spot. Very personality blowing post, Thank you for sharing this information.

Avatar_small
메이저토토 说:
2023年11月11日 21:31

Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates.

Avatar_small
안전놀이터추천 说:
2023年11月11日 21:38

That is truly something that we consider a ton. At the point when we thought up our key course of action, the fundamental segment was people. Hopkins is mind blowing because of the overall public who work here and learn here, so it's critical to use to keep them fulfilled and locked in.

Avatar_small
먹튀검증사이트 说:
2023年11月11日 21:55

That is truly something that we consider a ton. At the point when we thought up our key course of action, the fundamental segment was people. Hopkins is mind blowing because of the overall public who work here and learn here, so it's critical to use to keep them fulfilled and locked in.

Avatar_small
안전놀이터 说:
2023年11月11日 22:02

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

Avatar_small
안전토토사이트 说:
2023年11月11日 23:30

"I’m happy I located this blog! From time to time, students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people.I regularly visit this site to check out the events and functions and sometimes for resources. However, it has been a while that you have shared some news about latest or upcoming events.
"

Avatar_small
안전놀이터순위 说:
2023年11月11日 23:38

"Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! Your weblog provided us with precious records to paintings with. each & every suggestions of your publish are amazing.
"

Avatar_small
토토브라더 说:
2023年11月11日 23:50

A debt of gratitude is in order for all the exertion in sharing this splendid post and I truly to welcome it. Your commitment and diligent work has helped you to deliver great quality articles this way Cool stuff you have and you keep upgrade all of us

Avatar_small
카디즈 说:
2023年11月12日 00:13

Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates

Avatar_small
우리카지노추천 说:
2023年11月12日 00:17

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

Avatar_small
사설토토사이트 说:
2023年11月12日 00:28

Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates.

Avatar_small
안전놀이터추천 说:
2023年11月12日 00:39

Not too bad information, significant and splendid arrangement, as offer extraordinary stuff with brilliant considerations and thoughts, heaps of unbelievable information and inspiration, the two of which I need, by virtue of offer such a strong information here.

Avatar_small
먹튀검증사이트 说:
2023年11月12日 00:40

Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates.

Avatar_small
온라인 카지노 사이트 说:
2023年11月12日 00:57

Nice information, significant and splendid arrangement, as offer extraordinary stuff with brilliant considerations and thoughts, heaps of unimaginable information and inspiration, the two of which I need, because of offer such a strong information here.

Avatar_small
안전공원주소 说:
2023年11月12日 00:57

Hello, Your blog is enlightening. It is decent to peruse such fantastic substance. Appealing data on your blog, thank you for taking the time and offer with us. Myassignmenthelp conveys amazing substance identified with programming task help.

Avatar_small
오즈포탈 보는법 说:
2023年11月12日 01:10

Much obliged to you again for all the learning you disperse, Good post. I was extremely intrigued by the article, it's very rousing I ought to concede. I like visiting your site since I generally go over intriguing articles this way one.

Avatar_small
เว็บพนันบอล 说:
2023年11月12日 01:18

Much obliged to you again for all the learning you disperse, Good post. I was extremely intrigued by the article, it's very rousing I ought to concede. I like visiting your site since I generally go over intriguing articles this way one.

Avatar_small
토토배너 说:
2023年11月12日 01:24

Astonishingly made article, if just all bloggers offered a tantamount degree of substance as you, the web would be a phenomenally improved spot. Very personality blowing post, Thank you for sharing this information.

Avatar_small
먹튀검증 说:
2023年11月12日 01:26

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

Avatar_small
먹튀365 说:
2023年11月12日 01:33

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

Avatar_small
안전놀이터 说:
2023年11月12日 01:43

After investigation a portion of the substance in your site now, and I likewise extremely much like your system of blogging. I bookmarked it to my bookmark site list and will likewise be returning soon. Pls investigate my web website also and disclosed to me what you accept.

Avatar_small
먹튀검증 说:
2023年11月12日 01:51

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

Avatar_small
먹튀테일 说:
2023年11月12日 01:54

Hi what an awe inspiring post I have gone over and trust me I have been paying special mind to this similar kind of post for late week and scarcely kept running over this. Much thanks and will look for more postings from you.

Avatar_small
사설토토검증 说:
2023年11月12日 02:00

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

Avatar_small
카지노사이트 说:
2023年11月12日 02:06

After investigation a portion of the substance in your site now, and I likewise extremely much like your system of blogging. I bookmarked it to my bookmark site list and will likewise be returning soon. Pls investigate my web website also and disclosed to me what you accept.

Avatar_small
먹튀신고 说:
2023年11月12日 02:40

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

Avatar_small
사설토토 가입방법 说:
2023年11月12日 03:03

Hi I found your site by mistake when i was searching yahoo for this acne issue, I must say your site is really helpful I also love the design, its amazing!. I don’t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. I will be back in a day or two. thanks for a great site.

Avatar_small
먹튀사이트 说:
2023年11月12日 03:21

"Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! Your weblog provided us with precious records to paintings with. each & every suggestions of your publish are amazing.
"

Avatar_small
메이저사이트 기준 说:
2023年11月12日 03:43

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

Avatar_small
pavzi.com 说:
2024年1月11日 22:29

The primary idea or goal of this website has been to offer resources that contain comprehensive information on every subject and are accessible via the Internet. making certain that each and every reader finds the most relevant and pavzi.com worthwhile information regarding the subject they are searching for and linking to our content.Because our website is multi-niche or multi-category, it will guarantee that it offers resources and information on every subject. Our website features a number of timeless topics, including career, job recruitment, education, technology, and reviews, among others. Indeed, Tech, Finance, and Product Reviews are our primary focus.

Avatar_small
토토사이트 说:
2024年1月14日 20:40

Just admiring your work and wondering how you managed this blog so well. It’s so remarkable that I can't afford to not go through this valuable information whenever I surf the internet!

Avatar_small
슬롯사이트 说:
2024年1月14日 22:50

"Initial You got a awesome blog .I determination be involved in plus uniform minutes. i view you got truly very functional matters , i determination be always checking your blog blesss.

Avatar_small
먹튀검증 说:
2024年1月14日 23:37

You…are…my…hero!!! I cant believe something like this exists on the internet! Its so true, so honest, and more than that you dont sound like an idiot! Finally, someone who knows how to talk about a subject without sounding like a kid who didnt get that bike he wanted for Christmas.

Avatar_small
소액결제현금화 说:
2024年1月14日 23:55

This is important, though it's necessary to help you head over to it weblink:

Avatar_small
고화질스포츠중계 说:
2024年1月15日 00:31

A to a great degree brilliant blog passage. We are really grateful for your blog passage. fight, law usage You will find an extensive measure of techniques in the wake of heading off to your post. I was absolutely examining for. An obligation of appreciation is all together for such post and please keep it up. Mind blowing work.

Avatar_small
슬롯사이트 说:
2024年1月15日 00:41

Very interesting blog. A lot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definitely interested in this one.

Avatar_small
카지노커뮤니티 说:
2024年1月15日 01:14

"These are in fact impressive ideas in regarding blogging.
You have touched some good factors here. Any way keep up
wrinting."

Avatar_small
ios industrial outdo 说:
2024年1月15日 01:24

Yavoo, I recently came across your article and have been reading along. I want to express my admiration of your writing skill and ability to make readers read from the beginning to the end. I would like to read newer posts and to share my thoughts with you.

Avatar_small
카지노사이트 说:
2024年1月15日 02:01

Thankyou for taking the time to write this it was a great read. Good job!

Avatar_small
카지노 说:
2024年1月15日 18:42

I think this is one of the most significant information for me. And i'm glad reading your article

Avatar_small
카지노 说:
2024年1月15日 19:10

"Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that ""The content of your post is awesome"" Great work.

"

Avatar_small
온라인카지노 说:
2024年1月15日 22:16

"This is such a great resource that you are providing and you give it away for free

"

Avatar_small
온라인 카지노 说:
2024年1月17日 19:01

Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notify that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing.

Avatar_small
토토사이트 说:
2024年1月17日 21:25

"Thanks for the valuable information and insights you have so provided here...

Avatar_small
slot online 说:
2024年1月18日 02:05

Thumbs up guys your doing a really good job

Avatar_small
바카라 사이트 먹튀검증 说:
2024年1月21日 19:04

온라인 카지노 커뮤니티 온카허브 입니다. 온카허브는 카지노 먹튀 사이트들과 안전한 카지노 사이트 정보를 공유하고 있습니다. 카지노 먹튀검증 전문팀을 자체적으로 운영함으로써 철저한 검증을 진행하고 있습니다.

Avatar_small
바카라 추천 说:
2024年1月21日 19:49

온라인 카지노 커뮤니티 온카허브 입니다. 온카허브는 카지노 먹튀 사이트들과 안전한 카지노 사이트 정보를 공유하고 있습니다. 카지노 먹튀검증 전문팀을 자체적으로 운영함으로써 철저한 검증을 진행하고 있습니다.

Avatar_small
카지노사이트 说:
2024年1月23日 15:12

카지노사이트 바카라사이트 우리카지노 카지노는 바카라, 블랙잭, 룰렛 및 슬롯 등 다양한 게임을 즐기실 수 있는 공간입니다. 게임에서 승리하면 큰 환호와 함께 많은 당첨금을 받을 수 있고, 패배하면 아쉬움과 실망을 느끼게 됩니다.

Avatar_small
하노이 가라오케 说:
2024年1月23日 15:32

하노이 꼭 가봐야 할 베스트 업소 추천 안내 및 예약, 하노이 밤문화 에 대해서 정리해 드립니다. 하노이 가라오케, 하노이 마사지, 하노이 풍선바, 하노이 밤문화를 제대로 즐기시기 바랍니다. 하노이 밤문화 베스트 업소 요약 베스트 업소 추천 및 정리.

Avatar_small
베트남 유흥 说:
2024年1月24日 17:10

베트남 남성전용 커뮤니티❣️ 베트남 하이에나 에서 베트남 밤문화를 추천하여 드립니다. 베트남 가라오케, 베트남 VIP마사지, 베트남 이발관, 베트남 황제투어 남자라면 꼭 한번은 경험 해 봐야할 화끈한 밤문화로 모시겠습니다. https://vn-hyena.com/

Avatar_small
안전놀이터 说:
2024年1月24日 17:20

No.1 먹튀검증 사이트, 먹튀사이트, 검증사이트, 토토사이트, 안전사이트, 메이저사이트, 안전놀이터 정보를 제공하고 있습니다. 먹튀해방으로 여러분들의 자산을 지켜 드리겠습니다. 먹튀검증 전문 커뮤니티 먹튀클린만 믿으세요!!

Avatar_small
seo service london 说:
2024年2月21日 21:54

I trully appreciate your work and tips given by you is helpful to me.

Avatar_small
토토사이트 说:
2024年3月28日 22:45

시간을내어이 문제에 대해 토론 해 주셔서 감사합니다.이 주제에 대해 더 많이 배우고 싶습니다. 가능하다면 전문 지식을 얻으면 추가 정보로 블로그를 업데이트 해 주시겠습니까? 저에게 매우 도움이됩니다.

Avatar_small
코인지갑개발 说:
2024年4月22日 21:12

블록체인개발 코인지갑개발 IT컨설팅 메스브레인팀이 항상 당신을 도울 준비가 되어 있습니다. 우리는 마음으로 가치를 창조한다는 철학을 바탕으로 일하며, 들인 노력과 시간에 부흥하는 가치만을 받습니다. 고객이 만족하지 않으면 기꺼이 환불해 드립니다.
https://xn--539awa204jj6kpxc0yl.kr/

Avatar_small
Coin exchange 说:
2024年5月31日 18:31

The tech-original mission is to help you better understand technology, and make better decisions in the fields of IT, Tech, and Crypto.
https://www.tech-original.com/

Avatar_small
Coin exchange 说:
2024年6月06日 20:52

The tech-original mission is to help you better understand technology, and make better decisions in the fields of IT, Tech, and Crypto.
https://www.tech-original.com/


登录 *


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