Cannot run it on Windows as well as on Linux (on Windows, WSL)
Opened this issue · 2 comments
kell18 commented
Hello! Interesting project, curious to run, but after compiling I see following in PowerShell or Ubuntu terminal:
[info] Done updating. [info] Compiling 69 Scala sources to C:\Users\albert.bikeev\Projects\zio3d\target\scala-2.13\classes ... [info] Non-compiled module 'compiler-bridge_2.13' for Scala 2.13.0. Compiling... [info] Compilation completed in 6.335s. [info] Done compiling. [info] Packaging C:\Users\albert.bikeev\Projects\zio3d\target\scala-2.13\zio3d_2.13-0.1.jar ... [info] Done packaging. [info] Running (fork) zio3d.game.Main [error] Error: Could not create the Java Virtual Machine. [error] Error: A fatal exception has occurred. Program will exit. [error] Unrecognized option: -XstartOnFirstThread [error] Nonzero exit code returned from runner: 1 [error] (Compile / run) Nonzero exit code returned from runner: 1 [error] Total time: 22 s, completed Dec 6, 2019 6:00:23 PM
wongelz commented
Hi, can you try removing -XstartOnFirstThread from build.sbt and see if it
works.
…On Sat, 7 Dec. 2019, 02:02 Albert Bikeev, ***@***.***> wrote:
Hello! Interesting project, curious to run, but after compiling I see
following in PowerShell or Ubuntu terminal:
[info] Done updating. [info] Compiling 69 Scala sources to C:\Users\albert.bikeev\Projects\zio3d\target\scala-2.13\classes ... [info] Non-compiled module 'compiler-bridge_2.13' for Scala 2.13.0. Compiling... [info] Compilation completed in 6.335s. [info] Done compiling. [info] Packaging C:\Users\albert.bikeev\Projects\zio3d\target\scala-2.13\zio3d_2.13-0.1.jar ... [info] Done packaging. [info] Running (fork) zio3d.game.Main [error] Error: Could not create the Java Virtual Machine. [error] Error: A fatal exception has occurred. Program will exit. [error] Unrecognized option: -XstartOnFirstThread [error] Nonzero exit code returned from runner: 1 [error] (Compile / run) Nonzero exit code returned from runner: 1 [error] Total time: 22 s, completed Dec 6, 2019 6:00:23 PM
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=ABJKJ6BNA65YPLIKRKZ6IKLQXKAQZA5CNFSM4JW44FW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H6WNDOQ>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJKJ6B22ENYVIXVE6RCX6LQXKAQZANCNFSM4JW44FWQ>
.
kell18 commented
Yep, thanks, it helped to go a step forward, but then I got a different exception on Windows Powershell and Cmd (there was another one for WSL, I'll leave it out as unrelated):
https://gist.github.com/kell18/a4e056de3790316395199c6443dfa1dd
(sorry for the formatting)