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

JBRE version not detected when using alternativeIdePath (MacOS) #358

Closed
utikeev opened this issue Jan 21, 2019 · 4 comments
Closed

JBRE version not detected when using alternativeIdePath (MacOS) #358

utikeev opened this issue Jan 21, 2019 · 4 comments
Assignees
Milestone

Comments

@utikeev
Copy link

utikeev commented Jan 21, 2019

I'm developing plugin for PyCharm and stumbled onto the next problem. When I use alternativeIdePath it runs PyCharm under the system JVM. That, for example, leads to non-working menu.
I looked up into the code of the plugin and found that the JBRE version is detected via looking the parameter jdkBuild in file dependencies.txt in the root folder of IDE (link to the method).
I opened that folder and there was no such file. After its creation manually with the content:

jdkBuild=jbrex8u152b1343.26

PyCharm opened using the correct JVM.

OS: MacOS Mojave 10.14.2
PyCharm is installed via JetBrains Toolbox. Maybe it has something to do with the way IDE's are installed on Mac or with the Toolbox installation?

@zolotov zolotov self-assigned this Jan 21, 2019
@zolotov
Copy link
Member

zolotov commented Jan 21, 2019

good catch, thanks

After its creation manually with the content:

The more appropriate workaround is to set this version in your build.gradle:

runIde { jbreVersion 'jbrex8u152b1343.26' }

@utikeev
Copy link
Author

utikeev commented Jan 21, 2019

Yeah, I also have tried this one, it also works :)

@abrooksv
Copy link
Contributor

Is there a website akin to https://www.jetbrains.com/intellij-repository/snapshots to see the latest version number of JBRE?

@zolotov
Copy link
Member

zolotov commented Jan 21, 2019

@zolotov zolotov added this to the 0.4.19 milestone Apr 16, 2020
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