Skip to content

Conversation

@themkat
Copy link
Collaborator

@themkat themkat commented Aug 17, 2022

In fwcd/vscode-kotlin#101, a user was using snap to install Kotlin. In my last classpath-resolving-fix PR, I could not get snap working (I mostly use M1 Macs these days, which is ARM and have issues installing the kotlin package as it is only provided for x86/x64). Today I found an older machine (x86), and experimented with snap and installed kotlin that way. I could not resolve the location of stdlib directly using the location of kotlinc. kotlinc resolved to some weird snap-location, and stdlib jars seems to be located in /snap/kotlin/current/lib/. We know from the issue I linked to, and the output the user gave, that the implementation (pre other PR) did not resolve the stdlib location.

My solution is to try to resolve a common snap install path directly. This should at least give some support for installs using snap (even though there might not be that many). Hopefully this will make at least the few people installing kotlin using snap happy 🙂

@fwcd
Copy link
Owner

fwcd commented Sep 13, 2022

Thanks!

@themkat themkat deleted the snap_install_stdlib branch September 13, 2022 16:37
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