3DMark
"Could not create java virtual machine"
Can't launch 3DMark because it says this. I already have the _JAVA_OPTIONS and a maximum and minimum allocated memory size to the heap along with both 64-bit java and 32-bit java installed...

What can I do to fix this? I might have to refund if I can't get it started :(
投稿主: UL_Jarnis:
Couple of potential reasons...

1. your installation somehow did not properly do the latest update, so there are extra files in the jre folder under 3DMark folder. You could try deleting the jre folder under 3DMark and then re-verifying the files from Steam to ensure they are correct.

2. Your system has a version of Asus Sonic Radar 3 installed that breaks 3DMark. If this is the case, try removing it.

3. Your system somehow blocks 3DMark from writing to Documents/3DMark/ folder. One way might be that Windows Defender "anti tamper" is set to block apps from writing there.

4. 3DMark cannot create or write to C:\ProgramData\UL\ folder (under normal circumstances in Windows 10, applications can always write to ProgramData (which is by default a hidden folder)

If UI never starts, 3dmark.log would not exist anyway but --trace should add 3dmark-native.log into Documents/3DMark/ no matter what.

< >
31-40 / 40 のコメントを表示
Zeebo 2022年7月20日 21時26分 
UL_Jarnis の投稿を引用:
Don't use folder names with exotic characters in them, they can break a lot of things, not just 3DMark.

Letters, numbers, spaces and dash ('-') are generally considered safe. The rest, not so much. Also if the first letter is a space, that can cause problems even if space is otherwise ok.

0.000000 looking for earlier pid -1 0.094000 starting 3DMark with arguments F:\SteamLibrary\steamapps\common\3DMark\bin\x64\3DMark.exe --trace 0.094000 launching server with splash images/splash_3DMark_100.png 1.844000 promise<pair<wstring, int>> port_promise; 1.844000 p->on_stdout 1.844000 p->on_stderr( 1.891000 process launch succeeded 1.891000 port_future.wait(); 1.953000 BOM not detected 1.953000 (std-err) Picked up _JAVA_OPTIONS: -Xmx28000m 1.953000 (std-err) Invalid maximum heap size: -Xmx28000m 1.953000 (std-err) The specified size exceeds the maximum representable size. 3.641000 (jre\bin\javaw.exe (stderr)) reading pipe ended 3.641000 (jre\bin\javaw.exe (stdout)) reading pipe ended 3.641000 port_future.get(); 3.641000 stream ended 3.641000 server_info.second 3.641000 failed to start server process, ui launch cancelled

I did everythinug mentioned in this thread and this is my log file. Still getting java runtime error.
UL_Jarnis  [開発者] 2022年7月21日 12時13分 
1.953000 (std-err) Picked up _JAVA_OPTIONS: -Xmx28000m

You have a _JAVA_OPTIONS setting in windows environmental variables that breaks 3DMark. Please remove it.

Here is a guide in case you do not know where Environmental Variables are in Settings

https://tlauncher.org/en/java-options-problem.html
最近の変更はUL_Jarnisが行いました; 2022年7月21日 12時13分
0.000000 looking for earlier pid -1
0.062000 starting 3DMark with arguments "C:\Program Files (x86)\Steam\steamapps\common\3DMark\bin\x64\3DMark.exe" --trace
0.062000 launching server with splash images/splash_3DMark_100.png
1.703000 promise<pair<wstring, int>> port_promise;
1.703000 p->on_stdout
1.703000 p->on_stderr(
1.719000 process launch succeeded
1.719000 port_future.wait();
3.281000 BOM not detected
3.281000 (std-err) Exception in thread "main" java.lang.ExceptionInInitializerError
3.281000 (std-err) at java.desktop/javax.swing.JPanel.updateUI(Unknown Source)
3.281000 (std-err) at java.desktop/javax.swing.JPanel.<init>(Unknown Source)
3.281000 (std-err) at java.desktop/javax.swing.JPanel.<init>(Unknown Source)
3.281000 (std-err) at java.desktop/javax.swing.JPanel.<init>(Unknown Source)
3.281000 (std-err) at java.desktop/javax.swing.JRootPane.createGlassPane(Unknown Source)
3.281000 (std-err) at java.desktop/javax.swing.JRootPane.<init>(Unknown Source)
3.281000 (std-err) at java.desktop/javax.swing.JFrame.createRootPane(Unknown Source)
3.281000 (std-err) at java.desktop/javax.swing.JFrame.frameInit(Unknown Source)
3.281000 (std-err) at java.desktop/javax.swing.JFrame.<init>(Unknown Source)
3.281000 (std-err) at com.futuremark.choros.util.SplashScreen.show(SplashScreen.java:73)
3.281000 (std-err) at com.futuremark.choros.ChorosApplication.<clinit>(ChorosApplication.java:66)
3.281000 (std-err) Caused by: java.lang.IllegalArgumentException: 50 incompatible with Text-specific LCD contrast key
3.281000 (std-err) at java.desktop/java.awt.RenderingHints.put(Unknown Source)
3.281000 (std-err) at java.desktop/sun.awt.windows.WDesktopProperties.getDesktopAAHints(Unknown Source)
3.281000 (std-err) at java.desktop/sun.awt.windows.WToolkit.getDesktopAAHints(Unknown Source)
3.281000 (std-err) at java.desktop/sun.awt.SunToolkit.getDesktopFontHints(Unknown Source)
3.281000 (std-err) at java.desktop/sun.awt.windows.WDesktopProperties.getProperties(Unknown Source)
3.281000 (std-err) at java.desktop/sun.awt.windows.WToolkit.lazilyInitWProps(Unknown Source)
3.281000 (std-err) at java.desktop/sun.awt.windows.WToolkit.lazilyLoadDesktopProperty(Unknown Source)
3.281000 (std-err) at java.desktop/java.awt.Toolkit.getDesktopProperty(Unknown Source)
3.281000 (std-err) at java.desktop/javax.swing.UIManager.<clinit>(Unknown Source)
3.281000 (std-err) ... 11 more
3.531000 (jre\bin\javaw.exe (stderr)) reading pipe ended
3.531000 (jre\bin\javaw.exe (stdout)) reading pipe ended
3.531000 stream ended
3.531000 port_future.get();
3.531000 server_info.second
3.531000 failed to start server process, ui launch cancelled
Win 11, latest dev build, with 4070Ti card, any tip what to try? Nothing seems to work so far.
Ok got it fixed by searching for 3.281000 (std-err) Caused by: java.lang.IllegalArgumentException: 50 incompatible with Text-specific LCD contrast key
Fixed by adding required reg entry
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /t REG_DWORD /v FontSmoothingGamma /d 1024 /f
Deleting the jre folder under 3DMark > bin > x64 and then verifying the 3DMark files through steam got this working for me, thanks!
Solution:
- 3DMark if you use standard Java versions
- If you have any modification of Java options in "System Properties - Environment Variables.."

Example after deleting increase ram in Java:
https://i.gyazo.com/4fcc56053ec9f2df98c1252e4c14768a.png
By removing these settings, 3dmark does work. In my case, the Java options are used to have more ram memory using visual graphics mods (shaders) for Maincraft

Why is the 3dmark creator not explored?
(using google translate)
I'm encountering the same "could not create java virtual machine" error after upgrading from AM4 to AM5. Deleting the jre folder and validating game files didn't fix the issue, neither did a fresh installation on another drive. I don't have a JAVA_OPTIONS environmental variable. I'm trying to produce a log but can't find the option 'Force 64bit". Any help would be appreciated.
UL_Jarnis  [開発者] 2023年12月9日 1時43分 
That option is no longer needed. 32bit version has been retired, its always "force 64bit" now :D
For me the issue was virus protection software... turned absolutely everything off, deleted java files, verified software files and then reloaded in fine showing all system details.
< >
31-40 / 40 のコメントを表示
ページ毎: 1530 50

投稿日: 2019年8月31日 17時05分
投稿数: 40