-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fails when using Jenv for Java version management #14
Comments
I am using jenv too, but can't reproduce your failure. From your logs, I can tell that the Could you try creating an empty project using
|
Not the original poster, but am running into the same issue with jenv 0.5.4 and macOS 11.1. I ran through those testing steps @dantesun and getting the same error as in #14 (comment). The
at the start. |
I am also running in the same issue, before coming here did a little research and found this: linux-china/jenv#28 which may be helpful. Also, another thing to keep in mind is that newer versions of MacOS use |
Sorry for the late reply @dantesun I tried your suggestion but see the same errors. See the transcript below:
|
@socket70 I hate to bother you but I really need your help here. Could you repeat these steps with JENV_DEBUG and DEBUG ? Please copy the commands bellow and post your transcript. Thank you!
You can turn off all the debug output by unsetting the variables.
|
Here is the output from the latest test @dantesun.
Notice it seemed to work. Ironically, if I do the same test but don't turn on debugging, I still see the error:
|
Hey @dantesun, any new updates on this? |
Unfortunately I fail to spot the issue. Personally I use |
i resolved this by running
|
It works! @dantesun I think you can close the issue, and maybe document it in the README. |
Yep this seems to sol e it for me as well. Thanks @gtassone. |
I spoke too soon. I tried to build another project today and it failed with the same error as before /usr/local/Cellar/jenv/0.5.4/libexec/libexec/jenv-version-file-read: line 17: syntax error near unexpected token `<' It caused the build to fail because of missing dependency java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException It seems the error causes java to bail out prior to loading all dependencies Running ./gradlew directly or installing the deprecated gdub works as expected. |
I just migrated from gdub to gng and my first attempt to use it caused the following error:
To Reproduce
Steps to reproduce the behavior:
More Information
I am able to run the java command directly, so I don't think the error is in jenv itself.
I can also run ./gradlew build and it works correctly.
So the problem seems to be in gng/gw.
The text was updated successfully, but these errors were encountered: