Try start java inside main()
Invoke map: C main() calls JLI_Launch -> Java main() calls UIApplicationMain -> AppDelegate: didFinishLaunchingWithOptions callback to Java -> Init OpenGL ES and start Minecraft client. (TODO)
This commit is contained in:
1 parent
e48ed97716
commit
d2ec05c549
8 files changed
+75
-36
No files matched your search
@@ -77,6 +77,9 @@ public class PLaunchApp /* extends UIApplicationDelegateAdapter */ {
|
||||
}
|
||||
*/
|
||||
|
||||
System.out.println("We are on java now! Starting UI...");
|
||||
launchUI();
|
||||
|
||||
LauncherPreferences.loadPreferences();
|
||||
|
||||
System.setProperty("java.library.path", Tools.DIR_DATA + "/Frameworks");
|
||||
@@ -119,4 +122,6 @@ public class PLaunchApp /* extends UIApplicationDelegateAdapter */ {
|
||||
Tools.showError(th);
|
||||
}
|
||||
}
|
||||
|
||||
public static native void launchUI();
|
||||
}
|
||||
Reference in new issue
Block a user