-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The JAVA situation #3215
Comments
Probably installing the |
And, more importantly, what value should the |
|
Thanks. Nevertheless, what's with this |
Some apps need more than just the extra info: in windows, you dont get a |
Actually here it's the other way around: it's Anyway, thanks for investigating things. Let me attempt to draw the line on the "no multiple Javas" scenario:
Is that it? Is that all? |
exporting the In short, |
we can make this work
thanks for confirming the settings that work
I'm supposed to be on vacation but William or Brett can likely just add
this to our filesystem package (profile.x86_64 file)
…On Sun, Dec 1, 2024, 07:41 K1ngfish3r ***@***.***> wrote:
exporting the JAVA_HOME/bin path on the PATH is something I never had to
do. Apps pick up java pretty well with just /usr/bin/java and for the
rest, manipulating JAVA_HOME was enough. Such as when I was building
Lineage from source and it complained when it had detected my Java 19
install (Java 11 still gets updates, who knew)
In short, export JAVA_HOME=/usr/lib/jvm/java-1.19.0 is all that is needed.
In CL, I'm hoping this can be provided, with the option of being able to
override it later in the /etc/ folder or something like the other config
stuff
—
Reply to this email directly, view it on GitHub
<#3215 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJ54FIL7IUUXVGUESTTBTT2DKVQ5AVCNFSM6AAAAABSYB42IKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBZGU4TSNBWGI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I retired our /usr/bin/java and put in some setting for our profile but also updated Java. |
What release will that show up in? |
clearlinux-pkgs/filesystem@b38fb07 it's out in 42800 i believe |
Since this does break other code can you please verify whether your problem is also resolved with the alternative setting for |
I am guessing this has been fixed in 42960? |
As @K1ngfish3r pointed out it was already fixed with 42800 but as I pointed out in #3250 and the comment above this fix is incorrect since it breaks other Java software. Therefore it would be great if you would try whether the alternative fix as proposed in #3250 does also solve your issue. |
If it breaks something else (whatever that may be), then it has not been fixed.
I would rather wait until the devs themselves fix it. So far, there's no skin off my back. |
I installed the
java-basic
bundle, yet all my Java-based applications complain that they cannot find any Java installed on my system. What am I doing wrong??Does installing this bundle requires further (so far undocumented) steps in order to make Java work on one's system? Is this bundle not self-contained?
Interestingly,
whereis java
returnsjava: /usr/bin/java
, which does not seem to be a symlink. Furthermore,java -version
also complains that thejava
command cannot be found, as there's noJAVA_HOME
variable set. Doing some further digging reveals a Java installation ... of sorts in/usr/lib/jvm/java-1.19.0
.Anyone care to disentangle this mystery? What do we have to do to get an honest-to-goodness Java installation on our CL systems?
The text was updated successfully, but these errors were encountered: