Git Product home page Git Product logo

howtoinstall's People

Contributors

manjiz avatar

Watchers

 avatar

howtoinstall's Issues

JDK

CentOS

wget https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz
mkdir /usr/local/java
tar -zxvf jdk-17_linux-x64_bin.tar.gz -C /usr/local/java
echo "export JAVA_HOME=/usr/local/java/jdk-17.0.2" >> /etc/profile
echo "export JRE_HOME=${JAVA_HOME}/jre" >> /etc/profile
echo "export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib" >> /etc/profile
echo "export PATH=${JAVA_HOME}/bin:$PATH" >> /etc/profile
ln -s /usr/local/java/jdk-17.0.2/bin/java /usr/bin/java

SDKMan

MacOS

curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk version

Candidates Path: $HOME/.sdkman/candidates/ OR $SDKMAN_DIR/candidates/

Upgrade MacOS System JDK

MacOS

  • Install with official kit.
  • Show it: ls -lf /Library/Java/JavaVirtualMachines/(e.g., jdk1.8.0_20.jdk)
  • sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK

/usr/bin/java* -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java*

/System/Library/Frameworks/JavaVM.framework/Versions/Current -> A (which would be replaced)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.