Tuesday, July 7, 2009

Java survival kit

- Java2 (1998)
- Java5 (2004): Generics and enum
- Java6 (2006)
  • Web Services
  • All developers get first-class support for writing XML web service client applications. No messing with the plumbing: You can expose your APIs as .NET interoperable web services with a simple annotation. Not your style? Want to handle the XML directly? Knock yourself out: Java SE 6 adds new parsing and XML to Java object-mapping APIs, previously only available in Java EE platform implementations or the Java Web Services Pack.
- Java8 (LTS, 2014 )
Java11 (LTS  2018)

    Java17 (LTS.  2021)

      - annotations

      - alternatives
        - alternatives (works with "java" and "javac")
      /usr/bin/update-alternatives --config java
      /usr/bin/update-alternatives --install

      http://askubuntu.com/questions/56104/how-can-i-install-sun-oracles-proprietary-java-jdk-6-7-8-or-jre

      - To switch from open-jdk to Sun Hotspot JDK on ubuntu:
        sudo update-alternatives --set    java    /usr/lib/jvm/jdk1.7.0_67/bin/java

      - other notes
      • keywords const and goto are reserved, even though they are not currently used
      • // @formatter:off

      • JAVA_HOME when using Java11
        • in .bash_profile:       export JAVA_HOME=$(/usr/libexec/java_home)


      .

      No comments: