当前位置:七道奇文章资讯系统安全Linux安全
日期:2012-05-05 23:48:00  来源:本站整理

Ubuntu重装后Java环境的设置[Linux安全]

赞助商链接



  本文“Ubuntu重装后Java环境的设置[Linux安全]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:

  java下载地址在这里,检测你能否有 java 途径的办法是在终端中运行 which java,我得到了/usr/bin/java

  假如Ubuntu下安装了sun java用下面的号令

  export MATLAB_JAVA=/usr/lib/jvm/jdk1.6.0_10/jre/

  如没没有,利用matlab自带的

  export MATLAB_JAVA=/home/matlab2008b/sys/java/jre/glnx86/jre

  参考自

  ust to follow up on this, in case anyone out there is interested, I am now using Compiz version 0.6.3~git20080115.0ea58487-1 on Debian Lenny with kernel 2.6.24-1-amd64, and I am running Matlab 2008a. I have found that the latest snapshot of the JRE is working relatively well with Matlab, which you can find at http://download.java.net/jdk6/binaries/. I instruct Matlab to use this JRE by adding this line

  export MATLAB_JAVA=/usr/lib/jvm/jdk1.6.0_10/jre/

  to the Matlab startup script which for me is located at /usr/local/matlab76/bin/matlab (your Matlab root may differ, and the location of your JRE may differ). One key requirement is that you create the symbolic link from motif21 to motif12 in the amd64 directory which for me is located in /usr/lib/jvm/jdk1.6.0_10/jre/lib/amd64 (again your location may differ). I have found that the old workaround "export AWT_TOOLKIT=MToolkit" cannot be set for any of this to work. Also know that the motif12 link is a

  total kluge that I don't understand, so proceed at your own risk. Good luck!

  以上是“Ubuntu重装后Java环境的设置[Linux安全]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
  • ubuntu下无法利用无线网络的办理办法
  • 三步搞定windows与ubuntu之间文件同享
  • Ubuntu和windows文件同享问题详解
  • 在 Ubuntu 12.04 Server 上安装 Rails 环境
  • ubuntu 12.04 安装 Nginx+PHP5 (PHP-FPM) +MySQL主机详解
  • Linux(ubuntu)下配置android环境
  • Ubuntu 10.04上搭建Ruby on Rails环境
  • Ubuntu 10.10中关闭按钮位置的改变
  • Ubuntu下检测CPU温度的工具
  • Ubuntu Server增添关机用户
  • Ubuntu 11.04安装火狐5
  • ubuntu 10.04下搭建samba文件服务器
  • 本文地址: 与您的QQ/BBS好友分享!
    • 好的评价 如果您觉得此文章好,就请您
        0%(0)
    • 差的评价 如果您觉得此文章差,就请您
        0%(0)

    文章评论评论内容只代表网友观点,与本站立场无关!

       评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论
    Copyright © 2020-2022 www.xiamiku.com. All Rights Reserved .