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

Deadlock when worker JVM cannot be started #405

Closed
rhyskeepence opened this issue Aug 8, 2018 · 5 comments
Closed

Deadlock when worker JVM cannot be started #405

rhyskeepence opened this issue Aug 8, 2018 · 5 comments
Milestone

Comments

@rhyskeepence
Copy link

I've just started porting a sbt build to mill. From what's I've seen so far, it is awesome. However I noticed when I upgraded from 0.2.0 to 0.2.6 that my build began to deadlock, at mill.main.client.MillClientMain.run(MillClientMain.java:118).

Looking 'out/mill-worker-1/logs', the root cause appears to be that -XX:VMOptionsFile is not supported by oracle's java 8.

It would be nice if:

  • java 8 is supported, by removing vmoptionsfile
  • or, don't support oraclejdk1.8, and fail fast
@bledari
Copy link

bledari commented Sep 22, 2018

I was following the getting started and this issue made me see the logs

Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Unrecognized VM option 'VMOptionsFile=C:\MY\example-1\out\mill-worker-1\vmoptions'

@Claus1
Copy link

Claus1 commented Nov 3, 2018

on Windows after renaming 0.3.3-1-ff45d2 downloaded file to mill.bat as proposed and executed
mill mill.scalalib.GenIdea/idea
I got Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized VM option 'VMOptionsFile=C:\MyProjects\test\out\mill-worker-1\vmoptions'

out\vmoptions contains only a string:
-DMILL_VERSION=0.3.3-1-ff45d2

@lefou
Copy link
Member

lefou commented Mar 2, 2020

See #781

@sake92
Copy link
Contributor

sake92 commented Apr 14, 2020

@rhyskeepence @Claus1 @bledari please try with latest "0.6.1-121-3f10a4-assembly"

@sake92
Copy link
Contributor

sake92 commented Mar 26, 2021

Fixed in #791

@lefou lefou closed this as completed Mar 30, 2021
@lefou lefou added this to the 0.6.2 milestone Mar 30, 2021
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

5 participants