简体   繁体   中英

open jdk 7 for ubuntu 10.04 from quantal repo

我已经使用ubuntu 12.10的repo在ubuntu 10.04上成功安装了openjdk 7和tomcat7,一切似乎都正常,但是我意识到这不是我应该为旧版本的OS获取软件的方式。所以,问题是,是否有人尝试执行相同的动作(我很确定有人这样做),以及生产中的影响

I wouldn't follow this approach since you're installing packages manually, which is no better than downloading Oracle's JDK and Tomcat separately and installing them on /opt

I can think of two better options:

  1. Installing openjdk6 and tomcat6, which are available on 10.04 already. It's very likely you don't need the latest versions of both. Check if any of the web apps you want to deploy actually requires Java 7 and Tomcat 7.

  2. Install OpenJDK7 and Tomcat7 from a PPA. I found that there's a PPA for OpenJDK which packages openjdk7 for Lucid , so it's likely you'll find another for Tomcat. The advantage of this is that you'll have updates and security patches.

Also, consider upgrading to Ubuntu 12.04, which contains all of the above, but already integrated. I haven't upgraded Ubuntu server myself, but I've read it's safe and straightforward.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM