How to install jdk in Ubuntu 11.10


install jdk in linux is easy,you don not need to download jdk alone,

open your Termianl:

1. apt-cache search jdk  

  1. a list of jdk for you as follow:  
 
  1. default-jdk - Standard Java or Java compatible Development Kit  
  2. default-jdk-doc - Standard Java or Java compatible Development Kit (documentation)  
  3. default-jre - Standard Java or Java compatible Runtime  
  4. default-jre-headless - Standard Java or Java compatible Runtime (headless)  
  5. gcj-4.4-jdk - gcj and classpath development tools for Java(TM)  
  6. gcj-4.6-jdk - gcj and classpath development tools for Java(TM)  
  7. gcj-jdk - gcj and classpath development tools for Java(TM)  
  8. gcj-native-helper - Standard helper tools for creating gcj native packages  
  9. libcommons-lang-java - Extension of the java.lang package  
  10. libcommons-lang-java-doc - Extension of the java.lang package  
  11. libhessian-java - Java implementation of a binary protocol for web services  
  12. libhessian-java-doc - Documentation for libhessian-java  
  13. libpg-java - Java database (JDBC) driver for PostgreSQL  
  14. libpg-java-doc - Java database (JDBC) driver for PostgreSQL (documentation)  
  15. mauve - free test suite for the Java Class libraries  
  16. jde - JDEE, Java Development Environment for Emacs(en)  
  17. fakeroot-ng - Gives a fake root environment  
  18. freemind - Java Program for creating and viewing Mindmaps  
  19. gcj-4.5-jdk - gcj and classpath development tools for Java(TM)  
  20. japitools - Java API compatibility testing tools  
  21. java3ds-fileloader - Java3D 3DS File Loader  
  22. jtreg - Regression Test Harness for the OpenJDK platform  
  23. libcommons-launcher-java - cross platform java application launcher  
  24. libcommons-math-java - Java lightweight mathematics and statistics components  
  25. libcommons-math-java-doc - Java lightweight mathematics and statistics components - documentation  
  26. libhibernate-commons-annotations-java - Hibernate Commons Annotations  
  27. libicu4j-4.2-java - Library for Unicode support and internalisation  
  28. libicu4j-4.4-java - Library for Unicode support and internalisation  
  29. libicu4j-java - Library for unicode support and internalisation  
  30. libitext1-java - Java Library to generate PDF on the Fly  
  31. libjboss-aop-java - JBoss Aspect Oriented Programming (AOP) framework  
  32. libjboss-common-java - The JBoss Common Project  
  33. libjboss-marshalling-java - alternative serialization API  
  34. libjson-simple-java - Simple, lightweight and efficient JSON toolkit for Java  
  35. libjxp-java - Java template engine/script processor  
  36. libmaven-enforcer-plugin-java - Maven build rule execution framework  
  37. libnb-javaparser-java - Parser for the Java language which is good for use in tools  
  38. libpicocontainer-java - Java library implementing the Dependency Injection pattern  
  39. libslf4j-java - Simple Logging Facade for Java  
  40. libtrove-java - high performance collections for java  
  41. libtrove-java-doc - high performance collections for java  
  42. libwagon-java - tools to manage Maven artifacts and deployment  
  43. mmake - Makefile generator for Java programs  
  44. substance - cross-platform look & feel for Swing applications  
  45. substance-doc - cross-platform look & feel for Swing applications - documentation  
  46. testng - testing framework for Java  
  47. usepackage - utility to manage environment variables from within dotfiles  
  48. uwsgi-app-integration-plugins - plugins for integration of uWSGI and application  
  49. uwsgi-plugin-jvm-openjdk-6 - Java plugin for uWSGI (OpenJDK 6)  
  50. uwsgi-plugin-jwsgi-openjdk-6 - JWSGI plugin for uWSGI (OpenJDK 6)  
  51. visualvm - All-in-One Java Troubleshooting Tool  
  52. icedtea-6-jre-cacao - Alternative JVM for OpenJDK, using Cacao  
  53. icedtea-6-jre-jamvm - Alternative JVM for OpenJDK, using JamVM  
  54. icedtea-plugin - web browser plugin based on OpenJDK and IcedTea to execute Java applets  
  55. libreoffice - office productivity suite  
  56. openjdk-6-dbg - Java runtime based on OpenJDK (debugging symbols)  
  57. openjdk-6-demo - Java runtime based on OpenJDK (demos and examples)  
  58. openjdk-6-doc - OpenJDK Development Kit (JDK) documentation  
  59. openjdk-6-jdk - OpenJDK Development Kit (JDK)  
  60. openjdk-6-jre - OpenJDK Java runtime, using Hotspot JIT  
  61. openjdk-6-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)  
  62. openjdk-6-jre-lib - OpenJDK Java runtime (architecture independent libraries)  
  63. openjdk-6-source - OpenJDK Development Kit (JDK) source files  
  64. icedtea-7-jre-jamvm - Alternative JVM for OpenJDK, using JamVM  
  65. openjdk-6-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark  
  66. openjdk-7-dbg - Java runtime based on OpenJDK (debugging symbols)  
  67. openjdk-7-demo - Java runtime based on OpenJDK (demos and examples)  
  68. openjdk-7-doc - OpenJDK Development Kit (JDK) documentation  
  69. openjdk-7-jdk - OpenJDK Development Kit (JDK)  
  70. openjdk-7-jre - OpenJDK Java runtime, using Hotspot JIT  
  71. openjdk-7-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)  
  72. openjdk-7-jre-lib - OpenJDK Java runtime (architecture independent libraries)  
  73. openjdk-7-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark  
  74. openjdk-7-source - OpenJDK Development Kit (JDK) source files  
Choose what you want :
  1. 2. sudo apt-get install openjdk-6-jdk  
  1. it get start to install.  

不需要再配置环境变量即可直接使用  

更多Ubuntu相关信息见Ubuntu 专题页面 http://www.bkjia.com/topicnews.aspx?tid=2

相关内容

    暂无相关文章