Steam Deck

Steam Deck

How to install java 6
i need java 6 for gootools, haven't found a single good guide which explains how to do it
< >
Showing 1-12 of 12 comments
COMPANION❤CUBE Oct 29, 2024 @ 9:19am 
hey people?
Prezidentas Oct 29, 2024 @ 9:57am 
You won't find Java 6 (1.6) in current Linux distributions as it hasn't been supported for 8-11 years. The oldest version you can find is 8 (1.8).
COMPANION❤CUBE Oct 29, 2024 @ 11:14am 
Originally posted by Prezidentas:
You won't find Java 6 (1.6) in current Linux distributions as it hasn't been supported for 8-11 years. The oldest version you can find is 8 (1.8).
oh damn... Thanks for letting me know
eighthgrader Oct 30, 2024 @ 1:42am 
hey people?
Hey!

haven't found a single good guide
Have you tried using Google? Here's one of the top search results: https://askubuntu.com/a/89080/423703
Last edited by eighthgrader; Oct 30, 2024 @ 1:43am
COMPANION❤CUBE Oct 30, 2024 @ 2:26am 
Originally posted by eighthgrader:
hey people?
Hey!

haven't found a single good guide
Have you tried using Google? Here's one of the top search results: https://askubuntu.com/a/89080/423703
isn't SD on arch? Also that's java ORACLE, i lack information tp understand whether this is the correct guide for me, i usually only use guides specifically stating that they are for SD
Prezidentas Oct 30, 2024 @ 4:28am 
Originally posted by COMPANION❤CUBE:
Originally posted by eighthgrader:
Hey!


Have you tried using Google? Here's one of the top search results: https://askubuntu.com/a/89080/423703
isn't SD on arch? Also that's java ORACLE, i lack information tp understand whether this is the correct guide for me, i usually only use guides specifically stating that they are for SD
The answer in the link is from 2011. I could bet money that the binary would not work with current Linux distributions.
The variant of Java usually doesn't matter, but it's usually easier to install the default choice, and on Linux the default is usually OpenJDK and not Oracle.
thetargos Oct 30, 2024 @ 8:51am 
Not saying how, but you will require the binary installer and use alternatives to make it the default Java VM. For the first part you do not need to set the system fs RW, but for the second part, you do, meaning the alternatives configuration would be lost with every system update. Honestly seems like a chore having such an outdated version of Java Installed, not to mention the security risks it entails.
COMPANION❤CUBE Oct 30, 2024 @ 10:36am 
Originally posted by Prezidentas:
Originally posted by COMPANION❤CUBE:
isn't SD on arch? Also that's java ORACLE, i lack information tp understand whether this is the correct guide for me, i usually only use guides specifically stating that they are for SD
The answer in the link is from 2011. I could bet money that the binary would not work with current Linux distributions.
The variant of Java usually doesn't matter, but it's usually easier to install the default choice, and on Linux the default is usually OpenJDK and not Oracle.


Originally posted by thetargos:
Not saying how, but you will require the binary installer and use alternatives to make it the default Java VM. For the first part you do not need to set the system fs RW, but for the second part, you do, meaning the alternatives configuration would be lost with every system update. Honestly seems like a chore having such an outdated version of Java Installed, not to mention the security risks it entails.

sheesh, i was hoping it would be as simple as just usual copypasta in konsole
deaddoof Oct 30, 2024 @ 12:36pm 
Originally posted by COMPANION❤CUBE:

sheesh, i was hoping it would be as simple as just usual copypasta in konsole

Why don't you try containers? The downside is that you have to figure out how to use mountpoints.

https://github.com/docker-library/repo-info/blob/master/repos/java/README.md

podman pull java@sha256:c5a8b342ca8c70d4b347cf4dfbff6f2823822d15b2fe1ae4bd9a5bda5a2c89ed

https://github.com/docker-library/repo-info/blob/master/repos/java/remote/openjdk-6-jdk.md

https://hub.docker.com/_/java

Just switch docker to podman within the official docker hub and use the hash id instead of java:jdk-6

Example
podman run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp 31eff0ca351d javac Main.java
eighthgrader Oct 31, 2024 @ 2:54am 
Originally posted by COMPANION❤CUBE:
isn't SD on arch?
Does it matter in this case?

Originally posted by COMPANION❤CUBE:
Also that's java ORACLE, i lack information tp understand whether this is the correct guide for me
You didn't specify which "producer" of Java you are after, and by default it is Oracle, isn't it.
Anyway, if you don't understand which guide would be a correct one for you, it seems to be pointless to provide you with any guide then.

Originally posted by Prezidentas:
The answer in the link is from 2011. I could bet money that the binary would not work with current Linux distributions.
Sounds like an easy bet.
Last edited by eighthgrader; Oct 31, 2024 @ 2:55am
COMPANION❤CUBE Oct 31, 2024 @ 2:57am 
Originally posted by eighthgrader:
Originally posted by COMPANION❤CUBE:
isn't SD on arch?
Does it matter in this case?

Originally posted by COMPANION❤CUBE:
Also that's java ORACLE, i lack information tp understand whether this is the correct guide for me
You didn't specify which "producer" of Java you are after, and by default it is Oracle, isn't it.
Anyway, if you don't understand which guide would be a correct one for you, it seems to be pointless to provide you with any guide then.
i'm not a linux guy, as i said i expected something simple as 1 konsole command and that's all. I can't allow myself to go too far to possibly do something i don't want to
Hiro Oct 31, 2024 @ 6:11am 
A possible solution:

- Install Bottles via Discovery
- Create a bottle and Install Java for windows there.
- Install the program on the same bottle.

Since the program need Java 6 and that is a very old version, it may work well on Bottles.
You will need to find a Java 6 installer though...
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Oct 28, 2024 @ 10:23am
Posts: 12