Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pycharm doesn't "find" JRE or JDK
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
funker
n00b
n00b


Joined: 07 Nov 2013
Posts: 18

PostPosted: Sun Apr 24, 2016 1:54 pm    Post subject: Pycharm doesn't "find" JRE or JDK Reply with quote

Hello community,

I can't run pycharm-community. I installed the oracle-jdk:
Code:
# java -version
java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)


However, Pycharm-Community prints the following error:

Code:
No JDK found. Please validate eiter PYCHARM_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation.


I've set up the Java-VM using

Code:
java-config -L
*) Oracle JDK 1.8.0_92 [oracle-jdk-bin-1.8]
java-config -s 1


This didn't seem to solve the problem and Pycharm prints the error-message mentioned above.


Personally I don't like Java that much, so I would appreciate any recommendations regarding other Python-IDEs without the need of a running Java-VM as a last resort.
Back to top
View user's profile Send private message
Syl20
l33t
l33t


Joined: 04 Aug 2005
Posts: 619
Location: France

PostPosted: Mon Apr 25, 2016 8:12 am    Post subject: Reply with quote

Did you run env-update and source your new profile after running java-config ?

You can replace the Oracle JDK with icedtea-bin, to avoid license and download problems. If you really need the 1.8 version, you have to unmask the 3.x versions of icedtea-bin.
Back to top
View user's profile Send private message
funker
n00b
n00b


Joined: 07 Nov 2013
Posts: 18

PostPosted: Tue Apr 26, 2016 10:36 am    Post subject: Reply with quote

I've already tried to run Pycharm with icedtea, however the error message remains the same.
Back to top
View user's profile Send private message
Syl20
l33t
l33t


Joined: 04 Aug 2005
Posts: 619
Location: France

PostPosted: Wed Apr 27, 2016 9:46 am    Post subject: Reply with quote

And...
Syl20 wrote:
Did you run env-update and source your new profile after running java-config ?
Back to top
View user's profile Send private message
funker
n00b
n00b


Joined: 07 Nov 2013
Posts: 18

PostPosted: Wed Apr 27, 2016 1:33 pm    Post subject: Reply with quote

Oops, sry, yes, I did that, too ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum