Java 8 application on EC2

后端 未结 4 1650
孤街浪徒
孤街浪徒 2020-12-02 17:26

I was wondering if anyone knows if it will be possible for me to install Java 8 on an EC2 instance. My application is packed as a fat jar with embedded jetty, so the Java 8

4条回答
  •  春和景丽
    2020-12-02 18:02

    1. Donwload Linux version of JRE from below link to your windows machine as it has browser. Note that if you are using this EC2 instance as server you just need JRE and not complete JDK. https://www.oracle.com/technetwork/java/javase/downloads/server-jre8-downloads-2133154.html
    2. Tranfer downloaded .tar.gz file using winscp to your EC2 instance.
    3. Run "tar zxvf jre-8uversion-linux-i586.tar.gz" on your EC2 instance. For more info https://docs.oracle.com/javase/8/docs/technotes/guides/install/linux_jre.html#CFHBHAGI

提交回复
热议问题