Skip to content

Commit 4b13989

Browse files
authored
Deleted decompiled code
1 parent 8134076 commit 4b13989

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

README.md

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,6 @@
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.
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-
```
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.
284

295
# Requirements
306
This application was written in .NET 6.0. Please ensure you have that installed before running

0 commit comments

Comments
 (0)