I dl'd the latest version and was told that I needed Java 1.9 blah, blah. So, I went to Java and dl'd their latest version 8 update 321 and freecol won't work. What am I doing wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The Java creators did strange version numbering. Basically, Java 8 is short for Java 1.8 and 1.8 is less than 1.9. Therefore, get a newer version. I'd suggest Java 11 or 17 as these are LTS versions.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I went to the Java site by Oracle and the only version I see is version 8 update 321. How do I find a higher version?
Found it? But when I go there it says "These older versions of the JRE and JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production."
And then when I try to dl'd 9.0.4 I get "We're sorry, the page you requested was not found."
I had this problem, too. I downloaded and installed JDK 17.02, and then had to go into Windows Settings and uninstall Version 8 update 321 and all of the other versions of Java on my system.
The error message freecol throws is confusing, to say the least, because it asks for a Java version that doesn't actually exist.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Go to the same place you found those links. It has tabs for Linux, MacOs, and Windows, and by default the tab for Linux is the one that's open, and that's where you found those links. Select the tab that says Windows, and you'll see the installers for Windows.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I asked which one because when I went there ( https://www.oracle.com/java/technologies/downloads/) there is no tab or link to Linux, MacOS or Windows. There is a link to JRE for consumers, but that takes me back to Java 8.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Chrome works differently on my Android smartphone than it does on my Ubuntu Linux desktop machine. On the latter, you need to go to Settings/Security and Privacy/Site Settings/Javascript.
Does that work on your machine?
I don't know if the following link will work for you: Site Settings It contains a lot of stuff whose purpose I don't know.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I dl'd the latest version and was told that I needed Java 1.9 blah, blah. So, I went to Java and dl'd their latest version 8 update 321 and freecol won't work. What am I doing wrong?
The Java creators did strange version numbering. Basically, Java 8 is short for Java 1.8 and 1.8 is less than 1.9. Therefore, get a newer version. I'd suggest Java 11 or 17 as these are LTS versions.
Java 11 is currently what's available from Oracle. Using this will work as it contains what is needed for Java 9.
I went to the Java site by Oracle and the only version I see is version 8 update 321. How do I find a higher version?
Found it? But when I go there it says "These older versions of the JRE and JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production."
And then when I try to dl'd 9.0.4 I get "We're sorry, the page you requested was not found."
Found this: https://www.java.com/en/releases/ But I have no idea which one to use. Same with https://www.oracle.com/java/technologies/javase/17-0-2-relnotes.html
Last edit: David Conklin 2022-02-10
Java may be downloaded from Oracle at https://www.oracle.com/java/technologies/downloads/ for Java 17 or https://www.oracle.com/java/technologies/downloads/#java11 for Java 11. Either should work to compile FreeCol.
Oracle has installers for the following operating systems:
Using Java 9 may not work simply because it's not available from Oracle as you said you had problems with it.
Last edit: Calebrw 2022-02-11
I had this problem, too. I downloaded and installed JDK 17.02, and then had to go into Windows Settings and uninstall Version 8 update 321 and all of the other versions of Java on my system.
The error message freecol throws is confusing, to say the least, because it asks for a Java version that doesn't actually exist.
Thanks for sharing this tip. FreeCol uses features that were introduced in Java 9. We could clarify this better.
Which one do I chose for Windows:
Arm 64 Compressed Archive 171.49 MB
https://download.oracle.com/java/17/latest/jdk-17_linux-aarch64_bin.tar.gz (sha256 )
Arm 64 RPM Package 153.5 MB
https://download.oracle.com/java/17/latest/jdk-17_linux-aarch64_bin.rpm (sha256 )
x64 Compressed Archive 172.69 MB
https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz (sha256 )
x64 Debian Package 148.25 MB
https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.deb (sha256 )
x64 RPM Package 155.11 MB
https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.rpm (sha256 )
Go to the same place you found those links. It has tabs for Linux, MacOs, and Windows, and by default the tab for Linux is the one that's open, and that's where you found those links. Select the tab that says Windows, and you'll see the installers for Windows.
I asked which one because when I went there ( https://www.oracle.com/java/technologies/downloads/) there is no tab or link to Linux, MacOS or Windows. There is a link to JRE for consumers, but that takes me back to Java 8.
That's because one of your browser addons or settings blocks javascript .
enable /allow javascript temporarily for the oracle site and you will see those tabs and links .
How do I do that? I'm using Google Chrome. I looked under settings*, security and privacy and see nothing ab't Java.
"Default behavior
Sites automatically follow this setting when you visit them
"Sites can use Javascript" is checked.
Last edit: David Conklin 2022-02-15
Settings/Advanced/Site Settings/Javascript
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: David Conklin djconklin513@users.sourceforge.net
Sent: Monday, February 14, 2022 7:45:36 PM
To: [freecol:discussion] 719661@discussion.freecol.p.re.sourceforge.net
Subject: [freecol:discussion] problem with install
How do I do that? I'm using Google Chrome. I looked under settings, security and privacy and see nothing ab't Java.
problem with installhttps://sourceforge.net/p/freecol/discussion/719661/thread/b2db36ca1b/?limit=25#b818
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/freecol/discussion/719661/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
I can find settings/advanced but there is no Site Settings under that. It does appear under Security and Privacy and Javascript is enabled.
Did that for Oracle and there's no tabs.
Last edit: David Conklin 2022-02-16
Chrome works differently on my Android smartphone than it does on my Ubuntu Linux desktop machine. On the latter, you need to go to Settings/Security and Privacy/Site Settings/Javascript.
Does that work on your machine?
I don't know if the following link will work for you: Site Settings It contains a lot of stuff whose purpose I don't know.
WOW!
"Default behavior
Sites automatically follow this setting when you visit them
Sites can use Javascript"
You may want to install a second browser for situations like this so you will have a fallback option .
for now , try downloading the file directly .
The link for the windows installer for java 17 is
https://download.oracle.com/java/17/latest/jdk-17_windows-x64_bin.exe