File tree Expand file tree Collapse file tree
app/src/main/java/io/github/project516/NumberGuessingGame Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ Run `run.sh`
8181
8282### Development Setup
8383
84- SDKMAN is the recommended way to install Java and Gradle (pre-installed in GitHub Codespaces) :
84+ [ SDKMAN! ] ( https://sdkman.io ) is the recommended way to install Java and Gradle:
8585
8686```
8787sdk install java 25-tem
@@ -128,9 +128,9 @@ This will create `numberguessinggame.deb` which can be installed via `apt`/`dpkg
128128Run the following scripts to create platform-specific packages with bundled JRE:
129129
130130``` bash
131- ./package-jre-windows .sh # Creates NumberGuessingGame-windows.zip
132- ./package-jre- macos.sh # Creates NumberGuessingGame-macos.zip
133- ./package-jre- linux.sh # Creates NumberGuessingGame-linux.tar.gz
131+ ./package-win .sh # Creates NumberGuessingGame-windows.zip
132+ ./package-macos.sh # Creates NumberGuessingGame-macos.zip
133+ ./package-linux.sh # Creates NumberGuessingGame-linux.tar.gz
134134```
135135
136136These packages include a bundled JRE and do not require Java to be installed on the target system. They are automatically built and uploaded to GitHub Releases via GitHub Actions.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public class SystemInfo {
1111 *
1212 * @return the JVM vendor name
1313 */
14- String vendor () {
14+ public String vendor () {
1515 return System .getProperty ("java.vm.vendor" );
1616 }
1717
@@ -20,7 +20,7 @@ String vendor() {
2020 *
2121 * @return the JVM name
2222 */
23- String name () {
23+ public String name () {
2424 return System .getProperty ("java.vm.name" );
2525 }
2626
@@ -29,7 +29,7 @@ String name() {
2929 *
3030 * @return the JVM version
3131 */
32- String version () {
32+ public String version () {
3333 return System .getProperty ("java.vm.version" );
3434 }
3535}
You can’t perform that action at this time.
0 commit comments