Problems activating your account? Send notification email to: [email protected]
Host4Fun Budget VPS Hosting

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to install Java 8/9 on Debian Server
#11
(01-28-2021, 07:58 AM)sagher Wrote:  i download the file. and paste it into /tmp folder . and give this command via ssh



and the output is :

Selecting previously unselected package jdk-15.0.2.
(Reading database ... 47584 files and directories currently installed.)
Preparing to unpack .../jdk-15.0.2_linux-x64_bin.deb ...
Unpacking jdk-15.0.2 (15.0.2-1) ...
Setting up jdk-15.0.2 (15.0.2-1) ...

Just in 10sec. is it all done ?

I went to search for a tutorial on running concurrent java versions. I don't recall exactly how to do it off hand, but I know I've seen tutorials before (I haven't used JAVA in many years).

Anyways, I stumbled upon SDKMAN, a CLI tool which is used for managing software development kits. Here is a tutorial for running concurrent versions of java using SDKMAN.

Perhaps if you have a chance to try it you can make a review for us.
What's this?
Thanks to Cubedata  and Post4VPS
for my free VPS

Reply
#12
(01-29-2021, 12:58 AM)fitkoh Wrote:  I went to search for a tutorial on running concurrent java versions. I don't recall exactly how to do it off hand, but I know I've seen tutorials before (I haven't used JAVA in many years).

Anyways, I stumbled upon SDKMAN, a CLI tool which is used for managing software development kits. Here is a tutorial for running concurrent versions of java using SDKMAN.

Perhaps if you have a chance to try it you can make a review for us.

Yes Sure @fitkoh
But i need some more disk space for it. i think 5GB is not enough for it. already after all installation we discuss above my machine speed is loaded.
Heart LOVE FOR ALL  HATRED FOR NONE Heart
Reply
#13
(01-29-2021, 05:49 AM)sagher Wrote:  Yes Sure @fitkoh
But i need some more disk space for it. i think 5GB is not enough for it. already after all installation we discuss above my machine speed is loaded.

Yeah, whatever problem you're having with the disk space I would place at a high priority. I recommend you back up your work and create a support request in the private support forums.
What's this?
Thanks to Cubedata  and Post4VPS
for my free VPS

Reply
#14
(01-28-2021, 07:58 AM)sagher Wrote:  i download the file. and paste it into /tmp folder . and give this command via ssh



and the output is :

Selecting previously unselected package jdk-15.0.2.
(Reading database ... 47584 files and directories currently installed.)
Preparing to unpack .../jdk-15.0.2_linux-x64_bin.deb ...
Unpacking jdk-15.0.2 (15.0.2-1) ...
Setting up jdk-15.0.2 (15.0.2-1) ...

Just in 10sec. is it all done ?
Your logs doesn't show any errors, so it the control is returned to the user... it should be ended successfully.
You can also use the following command:
  • apt install /path/to/jdk-15.0.2_linux-x64_bin.deb


Is the package compatible with your distro version? (ex. buster?)

If you have a graphical environment you can try a GUI tool called gdebi, it is very useful.
Thanks to Post4VPS and Bladenodefor VPS 14
Reply
#15
I recommend to use AdoptOpenJDK instead of Oracle Java to avoid issues with licensing and etc.

https://adoptopenjdk.net/installation.html#linux-pkg


Apart from that you installed JDK 15 which is neither Java 8 nor Java 9.

AdoptOpenJDK provides binaries for Java 8 up to the latest higher version of 15.

See here: https://adoptopenjdk.net/releases.html
Reply
 


Possibly Related Threads...
Thread Author Replies Views Last Post
  Script Server [ Login / Register ] PemburuHantu 2 1,138 08-06-2019, 01:07 PM
Last Post: PemburuHantu
  SSH Server Vuluts 11 8,063 03-21-2019, 09:12 PM
Last Post: amontes
  mysql-server and phpmyadmin problem Rehan 11 2,745 03-12-2019, 04:04 PM
Last Post: Mashiro
  full java development on android rudra 0 700 11-27-2018, 02:40 PM
Last Post: rudra
Question How to install asapach peerflix server? Amresh 5 2,166 08-08-2018, 08:16 AM
Last Post: Mashiro

Forum Jump:


Users browsing this thread: 1 Guest(s)

Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting


About Post4VPS

Post4VPS is a forum/destiny where you can Delploy Your Free VPSs just by the Power of Posts.

We Provide VPSs of many locations like Germany,US,Canada,France,London,etc.

We also Provide VPSs of Both Linux and Windows OS.