Skip to content
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

Add Java installation guide for Windows #64

Open
damithc opened this issue Jul 28, 2024 · 5 comments
Open

Add Java installation guide for Windows #64

damithc opened this issue Jul 28, 2024 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@damithc
Copy link
Contributor

damithc commented Jul 28, 2024

The page can be structured similar to https://se-education.org/guides/tutorials/javaInstallationMac.html
While installation itself is rather easy, some students might not know how to configure their system to be able to run java and javac commands, how to switch between Java versions etc.
Note that this guide is used by students of different courses, some of whom could be first-time Java users.

@damithc damithc added the help wanted Extra attention is needed label Jul 28, 2024
@mfjkri
Copy link
Contributor

mfjkri commented Sep 23, 2024

Hi Prof!

I noticed the newly updated page here: https://se-education.org/guides/tutorials/javaInstallationWindows.html.
The guide looks great!

I just wanted to check if this task still requires further input or if the page is considered complete?

One potential suggestion could be adding a section for WSL users on Windows. WSL users might find it more useful to follow the macOS installation guide, using SDKMAN for Java version management.

Additionally, another option to consider is introducing a Java Version Manager like Jabba. While I believe the original version is no longer actively maintained, there is a community-maintained fork available here, which might be worth exploring as an alternative.

Let me know if any of suggestions are worth exploring or adding!

@damithc
Copy link
Contributor Author

damithc commented Sep 23, 2024

One potential suggestion could be adding a section for WSL users on Windows. WSL users might find it more useful to follow the macOS installation guide, using SDKMAN for Java version management.

@mfjkri Can WSL run java GUI programs?

Additionally, another option to consider is introducing a Java Version Manager like Jabba. While I believe the original version is no longer actively maintained, there is a community-maintained fork available here, which might be worth exploring as an alternative.

If it is not widely used, best not to.

@mfjkri
Copy link
Contributor

mfjkri commented Sep 23, 2024

@mfjkri Can WSL run java GUI programs?

Hm I tried it myself and encountered this error:

java.lang.UnsupportedOperationException: Unable to load glass GTK library.

I tested this on Windows 11 with WSL2 (v2.2.4.0).

Maybe it would be best to avoid mentioning WSL then 👍🏻

@drustanyjt
Copy link

Since we have a installation guide for Windows and Mac, would it be helpful to have one for Linux as well? I can help make one using Ubuntu 22 desktop and OpenJDK 17.

@damithc
Copy link
Contributor Author

damithc commented Sep 25, 2024

Since we have a installation guide for Windows and Mac, would it be helpful to have one for Linux as well? I can help make one using Ubuntu 22 desktop and OpenJDK 17.

@drustanyjt For completeness sake, yes let's add one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants