Solved

My project did see openJDK that I installed. What could be the problem

Posted on 2016-09-07
  • Programming
  • Java
  • Installation
  • Editors IDEs
  • Java EE
  • +2
7
140 Views
Last Modified: 2016-10-09
To simplify the problem I found analogical one. Let say you clone the project ( for example this one https://github.com/ignl/BinarySearchTrees )
It use libs from open jdk

https://gyazo.com/47773b9d8f39e7d8be195da83f77441f

Okey I intstall openJDK from here https://github.com/ojdkbuild/ojdkbuild
( I use intellij idea last edition community edition ) I press ctrl + alt+ shift + s and connect the jdk with my project
https://gyazo.com/810cf4bafec0cefc92481cad6c30d4d8
and still it don't work... what could be the problem please help !
0
Comment
Question by:SunnyX
7 Comments
 
LVL 32

Expert Comment

by:phoffric
ID: 41799146
I see that you use gyazo. From a long-term perspective, we find that often such links including dropbox go stale after awhile. If you are having any problems including your files/pictures here in the OP or in your post, ask a mod to give you assistance.

Also, some experts may simply not want to click on the cloud links.
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 41799796
Why didn't you just fetch JDK from the oracle website?
0
 

Author Comment

by:SunnyX
ID: 41802229
because I wanna use open jdk
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 62

Expert Comment

by:gheist
ID: 41802241
For all your OpenJDK and plugin-free needs let me suggest Azul Zulu JDK on Windows.
IntelliJ needs JAVA_HOME set to java you want it to use.
0
 

Author Comment

by:SunnyX
ID: 41821201
could you give me link for detail what are you mean exactly ? Found this is one but it seems that it JAVA_HOME set related to Gradle JVM config.
Thx in advance and thx for your reply
0
 

Author Comment

by:SunnyX
ID: 41821202
this is the pics the same from gyazo.com that I posted earlier
810cf4bafec0cefc92481cad6c30d4d8.png
47773b9d8f39e7d8be195da83f77441f.png
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 41822239
JAVA_HOME overrides other JVMs at random places. To my best knowledge this E-E Q/A is online.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
diffSum example 4 36
Why my table column Id is not passed to java object? 4 38
login form jsp example 2 24
hp envy 4500 driver installation problem 5 15
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question