Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JME v3.6.1-stable-sdk3_assetbrowser_alpha #540

Closed
dronicfore opened this issue Sep 30, 2023 · 6 comments
Closed

JME v3.6.1-stable-sdk3_assetbrowser_alpha #540

dronicfore opened this issue Sep 30, 2023 · 6 comments

Comments

@dronicfore
Copy link

dronicfore commented Sep 30, 2023

I downloaded the JME v3.6.1-stable-sdk3_assetbrowser_alpha and realized 2 major problems.

  1. It does not has the iOS deployment plugin by default under Project Properties. Although, i know this is a plugin that can be activated or downloaded according to this official documentation but at least this plugin should always be there to create awareness for unexperienced users (newbies) that JME has the power to deploy our games/apps into the Apple iOS mobile platform.
  2. This version throws IllegalMonitorStateException whenever i try to run the JMETest or BasicGame package.
    IMG_20231001_002001-picsay

My laptop has Windows 8.1 with Intel HD Graphics Card and Open GL 2.1.

@neph1
Copy link
Contributor

neph1 commented Oct 1, 2023

I think it's a Mac specific problem with LWJGL. Do you know how to run the app with VM options? Try adding:
-XstartOnFirstThread as in DEFAULT_JVM_OPTS="-XstartOnFirstThread"
I don't have a clean example of how it's used in gradle.

If you're running with Ant, you can add it if you right click the project and select Properties.
Scroll down to "Run" and add it in VM Options.

Some reference:
LWJGL/lwjgl3#311

Edit: If this doesn't help you, please post on https://hub.jmonkeyengine.org/, you'll get many more eyes on it, there.

@tonihele
Copy link
Contributor

tonihele commented Oct 1, 2023

With Gradle, using the application plug-in, it is just:

application {
    applicationName = 'MyApp'
    mainClass = 'myapp.Main'
    applicationDefaultJvmArgs = ["-Dvisualvm.display.name=MyApp -XstartOnFirstThread"]
}

@tonihele
Copy link
Contributor

tonihele commented Oct 1, 2023

If you want to do iOS development, I think you need to go as far back as SDK 3.3. iOS is not an easy platform to support. You can track its status from here: jMonkeyEngine/jmonkeyengine#1611

@dronicfore
Copy link
Author

dronicfore commented Oct 1, 2023

@neph1
My program runs with Ant & Adding
-XstartOnFirstThread didn't work.

Logcat shows error when i run the program:
Unrecognized option: -XstartOnFirstThread

@dronicfore
Copy link
Author

@tonihele

If you want to do iOS development, I think you need to go as far back as SDK 3.3. iOS is not an easy platform to support. You can track its status from here: jMonkeyEngine/jmonkeyengine#1611

Yes i was using v3.3.0-stable and was the best version that works on my PC without much problems... The reason why i installed this update was because it came with a new asset viewer & which is still buggy

@tonihele
Copy link
Contributor

tonihele commented Oct 2, 2023

new asset viewer & which is still buggy

Please report bugs on their own issues if you found some.

Thank you for this bug report. There seems to be some confusion since this has 2 totally different issues. One which has nothing to do with the SDK or MacOS (we were thrown of by iOS and thread problem I suppose and this is anyway LWJGL 2..) and one which deserves its own ticket.

Therefore I'm closing this issue. The following issue was created to jME: jMonkeyEngine/jmonkeyengine#2077

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants