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

Mention ./gradlew jvmRun in the README #57

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Mention ./gradlew jvmRun in the README #57

merged 2 commits into from
Jun 4, 2024

Conversation

martinbonnin
Copy link
Contributor

@martinbonnin martinbonnin commented Jun 4, 2024

I think this is the preferred way to run it? (As opposed to downloading binaries?)

See also #52

I think this is the preferred way to run it? (As opposed to downloading binaries?)
README.md Outdated
@@ -33,6 +33,8 @@ which panels are visible using the *View* menu.

# Running Kotlin Explorer

Kotlin Explorer is a Compose Desktop application. Run it with `./gradlew run`.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to mention it's a Compose Desktop application and ./gradlew run won't work. It's ./gradlew jvmRun and it needs the commit I just pushed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I swear I have ./gradlew run work with commit 10272421e8bdad56b01b6cdea2325ea6d170af7d. No idea why 🤷

I'll update to jvmRun

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On which OS? kotlin-explorer needs the JetBrains' runtime because of Jewel and its extensions, and a straight run will only work if your default JDK/JRE is a JetBrains one.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have MacOS and a jbrsdk:

$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jbrsdk-17.0.10-osx-aarch64-b1087.23/Contents/Home/

So that explains it 👍 . Text updated

@martinbonnin martinbonnin changed the title Mention ./gradlew run in the README Mention ./gradlew jvmRun in the README Jun 4, 2024
Copy link
Owner

@romainguy romainguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@romainguy romainguy merged commit f714b0f into romainguy:main Jun 4, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants