Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

572
Views
Intellij error=2 No such file or directory

Installed intellij and added sdk path to project structure, but when i try to run i get:

Error: Cannot run program "/home/$USER/java/jdk1.8.0_121/bin/java" 
(in directory"/home/$USER/.intelliJIdea2016.3/system/compile-server"):
error=2, No such file or directory

Both files (/home/$USER/java/jdk1.8.0_121/bin/java and /home/$USER/.intelliJIdea2016.3/system/compile-server) exists.

I am using Ubuntu 16.10

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

The answer from here Change jdk path in IntelliJ 13 when compiling from 32 bit program file folder to 64 bit one worked for me

From the menu: File -> Project Structure....

On the left, below "Platform Settings", you have "SDKs": click on it; you can add your new JDK here.

Always in the same window, below "Project Settings", select "Project": you have the option to select the JDK which you just added.

over 4 years ago · Santiago Trujillo Report

0

In my case, IntelliJ was pointing to a JDK folder of a version I had uninstalled. For some reason the uninstaller didnt remove the Java/jdk* folder, so it was not showing any error in the configuration screen File -> Project Structure -> SDK

After finding out it was pointing to an uninstalled JDK folder then I proceeded to adjust this configuration thanks to the answer posted by UberHans

over 4 years ago · Santiago Trujillo Report

0

1-see your version system, is window, mac or linux?

2-dowload specifc jdk(mac, window, linux).

3-Cheked your folders and file requered and path jdk/bin/(exec java)

4-see if the execut file java is compatibile your, system in your folder bin

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!