标签 jdk 下的文章 - tYgA

jdk

在Mac OS X上移除JDK

首先你得知道你的电脑中安装了哪些jdk(mac可以安装多个jdk)
打开mac的终端,输入命令:

ls /Library/Java/JavaVirtualMachines/

即可查看你电脑中装了哪些jdk版本。

然后就可以看到你电脑上安装的jdk版本:

查看全文 »

archlinux下使用 jenv 配置 jdk 的正确方法

Since many of our applications are continuously being upgraded to latest java versions, most of us may have already installed jenv command line tool. But, does it really work the way it should for you? Or, are you struggling to understand or configure it the right way?
Background

jenv is a cool tool that helps you switch between different java versions in your development machine. But unfortunately, the documentation in http://www.jenv.be/ is not proper to help you with the setup. There’s something more you need to do to make it work properly. This blog is for the newbies who are trying out jenv for the first time or for those who still couldn’t get it working properly.

You could try following the steps mentioned in jenv website, but I bet, you won’t get it working, right away!
Setup

查看全文 »

linux上开发系列之 安装jdk

安装jdk环境

服务器上如果不需要编码实际应该不安装JDK只安装JRE,我们考虑到以后可能安装其他软件就直接装JDK了。

下载JDK

下载jdk

上面的连接是stackoverflow有开发者写的不使用cookie下载jdk和jre的命令。

查看全文 »

shell脚本安装JDK

shell脚本安装JDK

这个脚本我一直在用但不是我写的,可以在centos和ubuntu下使用,其它系统没测试,使用时要先去官网下好jdk,并改好脚本里的文件名和安装目录

查看全文 »

linux下火狐浏览器启用jre

 linux下的火狐默认是没有启用jre的,如果想启用jre,要先安装jdk,之后按照下面的方法启用。注意JDK的路径,系统是i386和amd64对应改好目录 

3.6之前版本

sudo ln -s /opt/java/jdk_1.6.0.30/jre/plugin/i386/ns7/libjavapluginoji.so  /usr/lib/mozilla/plugins

3.6之后的版本

查看全文 »