JetBrains / JetBrains/JetBrainsRuntime

PyCharm does not recognize locally compiled runtime as "official" / breaks CodeWithMe compatibility

Open
#76 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
269
Avg merge
1h 18m
Merged PRs (30d)
1

Description

I've been experiencing an issue with PyCharm wherein the IDE *refuses* to connect to *any* data source. It seems to be an issue with the way that JDBC drivers are loaded / handled, but it applies to literally every driver so it's likely to do with the JDBC sub-system.

In either case, the issue is resolved entirely by pulling down this repo, compiling it locally, and replacing `PyCharm.app/Contents/jbr` with the compiled runtime. Doing this, however, causes the IDE to prompt me to "please consider using the official runtime" instead. It also causes the [Code With Me](https://www.jetbrains.com/code-with-me/) plugin to decide that voice and video chat aren't supported.

I can only assume that I've missed one or more critical configuration flags during the compilation process, but I cannot for the life of me figure out which. Can you please point me in the correct direction? The configure and build process I'm using looks like:

```bash
cd JetBrainsRuntime
git pull
sh ./configure --prefix=$(pwd)/build --disable-warnings-as-errors --with-jvm-features="jfr nmt cds aot g1gc cmsgc jvmci graal jvmti dtrace serialgc services epsilongc compiler1 jni-check compiler2 parallelgc management vm-structs shenandoahgc link-time-opt"
make clean
make all
```

Contributor guide

Open the contributing guide

Research direction

Start with the repository's configure options and the supplied `make clean` and `make all` commands, then compare the locally built runtime with the official runtime used by PyCharm. Check whether the build configuration explains the official-runtime warning and Code With Me's missing voice and video support. Done means identifying the required configuration or documenting the missing build capability.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.