Skip to content

Commit 6677cb8

Browse files
committed
Updated README
1 parent 2f60b8c commit 6677cb8

File tree

1 file changed

+28
-13
lines changed

1 file changed

+28
-13
lines changed

README.md

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
# DeleteJavaCheck
22
**JavaCheck.jar** is a Java file shipped with the Minecraft launcher. This isn't problematic for most, but those that prefer to use newer versions of Java, or mods that are incapable with older versions of Java, can't modify their profiles to use the version that isn't defaulted for that Java version.
3-
Thankfully, it's easy to bypass this by deleting this file, but is reinstalled after every update, so in the long run, this could be a useful application, especially for those rocking the beta launcher.
3+
Thankfully, it's easy to bypass this by deleting this file, but is reinstalled after every update, so in the long run, this could be a useful application, especially for those rocking the beta launcher.
4+
For those curious, the JavaCheck.java is:
5+
```java
6+
public class JavaCheck {
7+
private static final String[] keys = new String[]{"java.version"};
8+
9+
public static void main(String[] var0) {
10+
byte var1 = 0;
11+
String[] var2 = keys;
12+
int var3 = var2.length;
13+
14+
for(int var4 = 0; var4 < var3; ++var4) {
15+
String var5 = var2[var4];
16+
String var6 = System.getProperty(var5);
17+
if (var6 != null) {
18+
System.out.println(var5 + "=" + var6);
19+
} else {
20+
var1 = 1;
21+
}
22+
}
23+
24+
System.exit(var1);
25+
}
26+
}
27+
```
428

529
# Requirements
630
This application was written in .NET 6.0. Please ensure you have that installed before running
@@ -16,25 +40,16 @@ For the old launcher location, I'm unaware of where the default location is, but
1640
## Execution
1741
Run `DeleteJavaCheck.exe`, and if there's no issues, the file should be deleted
1842
Note: This program won't say what the errors are (I'm working on this), but there are some problems that may occur:
19-
- Having a backslash (\) at the end of the directory in location.txt
43+
- Having a backslash (\) at the end of the directory listed in location.txt
2044
- Not having admin rights
2145
- Not having the `\game` folder be the target directory
2246
- The file may already be deleted.
2347

2448
Another thing to note is that this file will most likely be permanently deleted, so remember to run the right version of Java on newer installations
2549

26-
# Future releases
27-
- Add icon to exe
28-
- Run in background, so there's no need for manual execution
29-
- Improving error handling or likely points of failure
30-
- Auto updater
31-
- .msi installer (?)
50+
# Future updates
51+
- Will scan both launchers automatically, provided that they are in the default location
3252

3353
# Updating
3454
This doesn't have an auto updater, but there will be an update at the end of every week, so until that's implemented, check back here every once in a while.
3555
Most updates won't be QOL (Quality of Life) updates, but mainly just error handling or improving the code, so it's not important to be on the latest release
36-
37-
# Changelog
38-
Current version: **0.1**
39-
- 0.1
40-
- Initial commit

0 commit comments

Comments
 (0)