Saturday, 30 June 2018

Install Latest Java 9 In Termux Without Root

9 comments
Hax4Us
Update :- This method is not working now I will upload new post asap for java

Hey , I am lokesh and today I will share a simple guide in order to install Java Jdk/Jre.

So Just Follow Below Steps 





  • Install dirmngr and gnupg  apt install dirmngr gnupg-curl -y
  • Add PGP key apt-key adv --keyserver pool.sks-keyservers.net --recv 9D6D488416B493F0
  • Add Repo mkdir -p $PREFIX/etc/apt/sources.list.d && echo "deb https://termux.xeffyr.ml/ extra main x11" > $PREFIX/etc/apt/sources.list.d/list.list
  • Update apt update
  • Now you can install java jdk apt install openjdk-9-jdk-headless -y
Some Amazing Tutorials For Termux Lovers 
If You Enjoyed This, Take 5 Seconds To Share It

9 comments:

  1. ye command run nhi ho rahi

    apt install dirmngr gnupg-curl -y

    ReplyDelete
    Replies
    1. apt-get install dirmngr
      apt-get install gnupg

      Delete
  2. Gnupg-curl -y package not found

    ReplyDelete
    Replies
    1. apt-get install dirmngr
      apt-get install gnupg

      Delete
  3. Apt install openjdk-9-jdk-headless
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package openjdk-9-jdk-headless

    ReplyDelete
  4. Err:2 https://termux.xeffyr.ml extra InRelease
    Failed to connect to termux.xeffyr.ml port 443: Connection timed out

    ReplyDelete
  5. jdk pack is unavailable to install in termux

    ReplyDelete
  6. Apt update is stuck at 0% now, how to fix

    ReplyDelete