zheludkovm / LinuxJavaFixes

LinuxJavaFixes
Other
434 stars 32 forks source link

In Pycharm 2018 fix not work #17

Open ElenkaVolodina opened 6 years ago

ElenkaVolodina commented 6 years ago

I installed new pycharm-2018.1.3, and LinuxJavaFixes not work. In older versions pycharm (for example pycharm-2017.3.2) fix it works. Ubuntu 16.04 LTS How to solve this problem? Thank you

zheludkovm commented 6 years ago

Can't reproduce this problem just download latest pycharm community edition and enterprise edition - both versions work ok ubuntu 16/04 LTS what version of JVM do you use ? also please check path to LinuxJavaFixes jars

magistr4815 commented 6 years ago

Same problem. Added to all files these terms! But it does not work!

mpetkevich commented 6 years ago

Same problem. I updated PHPStorm to 2018.2 Fix stopped working. VirtualBox/Ubuntu 16.04 LTS Path: -javaagent:/home/max/fix/build/LinuxJavaFixes-1.0.0-SNAPSHOT.jar, like as older version. selection_258 selection_259

kenenbek commented 6 years ago

Goland 2018.2 Ubuntu 16.04

image

The same problem — fix doesn't work.

microinginer commented 6 years ago

java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

Not working

zheludkovm commented 6 years ago

can you run idea on console by ./idea.sh and attach logs here

like this : .. idea-IC-181.5540.7/bin$ ./idea.sh LinuxJavaPatchAgent.loaded properties from classpath! patch.key.mapping.properties

what jdk version do you use ? from repository or downloaded from oracle ?

(still can't reproduce bug)

2018-08-16 15:01 GMT+03:00 Руслан Мадатов notifications@github.com:

java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

Not working

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/zheludkovm/LinuxJavaFixes/issues/17#issuecomment-413521669, or mute the thread https://github.com/notifications/unsubscribe-auth/AEJyoKQbxHrpiWjJP2brQ3QE3u6_NXtFks5uRV8hgaJpZM4US1X2 .

mpetkevich commented 6 years ago

I resolved my issue. When i update phpstorm, i start using jetBrains toolbox. It have separate phpstorm64.vmoptions. I try to add -javaagent:/home/max/fix/build/LinuxJavaFixes-1.0.0-SNAPSHOT.jar to /home/max/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/182.3911.43/bin/phpstorm64.vmoptions but this not help me.

Then i open phpstorm settings in toolbox image then click on "Edit Java Virtual Machine options..." image And in opened file added javaagent. image

And now fix working. I hope this helps someone. I am very happy.

PS. Adding a line manually into /home/max/.PhpStorm2018.2/config/phpstorm64.vmoptions or /home/max/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/182.3911.43/bin/phpstorm64.vmoptions did not help me. You can find all phpstorm64.vmoptions in Ubuntu via console "locate phpstorm64.vmoptions"

CssHammer commented 5 years ago

Works good in IntelliJ IDEA 2019 as for May 2019. Elementary OS Thanks a lot! 😎

CssHammer commented 5 years ago

How to fix Android Studio: Create .sh file with following contents: JAVA_TOOL_OPTIONS="-javaagent:/[path]/LinuxJavaFixes-1.0.0-SNAPSHOT.jar $JAVA_TOOL_OPTIONS" /[path]/android-studio/bin/studio.sh And link Android Studio .desktop file`s Exec= param to it.

benhacka commented 4 years ago

Pycharm 2919.3.4 & Elementary OS 5.1.3 Hera - The fix doesn't work :cry:

boggis30 commented 4 years ago

Pycharm 2919.3.4 & Elementary OS 5.1.3 Hera - The fix doesn't work

@benhacka I wonder if you found a fix for Elementary OS 5.1.3 Hera?

benhacka commented 4 years ago

@boggis30 I have resolved all eOS's issues by moving on Manjaro (Arch-based distro) :smiley_cat: