You are not logged in.
Hey everyone,
I recently can´t run Android Apps in Eclipse or Intellij.
Eclipse and Intellij are starting without any problem and other java projects are still working,
but if i try to test even a new "Hello World" App Eclipse does nothing and Intellij gives me an Error:
Error:Cannot run program "/usr/lib/jvm/bin/java" (in directory "/home/"MYUSERNAME"/.IdeaIC13/system/compile-server"): error=2, Datei oder Verzeichnis nicht gefunden "adb devices" notices my smartphone:
List of devices attached
SH266W403761 device
"archlinux-java status"
Available Java environments:
java-7-openjdk (default)
java-8-openjdk
"archlinux-java fix" didn´t bring any difference.
I´m running 64 Bit arch linux maybe thats the problem. (but multilib is enabled in pacman.conf)
It would be great if someone can help me here (I think i´m still a Arch Newbie).
Please tell me if you need any logfile, I just don´t know which one is usefull here.
Last edited by Borat180 (2014-10-29 23:45:10)
Offline
Please post output to the forums in English only. I see google translate says that is a "file or directory not found" error. This makes sense as it is looking for /home/"USERNAME"/... I bet that file does exist at /HOME/$USER/...
I have no idea what that file is, but I gather the path comes from one of your config files. (The latter part of the path seems to indicate it is intellij stuff).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I´m sorry i changed my Username to "MYUSERNAME" and /home/"USERNAME"/... is where the Intellij Data is stored.
My Problem was that there was no /usr/lib/jvm/bin/java only /usr/lib/jvm/default/bin/java.
A symbolic Link solved that Problem.
Don´t know why i didn´t recognised that first but thanks for the hint ;-)
Offline
Glad it's working. For future reference, please be sure to clarify if you've modified logs or command output that you paste. Generally there is no reason to even do so - there's not need to keep usernames secret.
Also, I doubt symlinking is the best solution - that might not survive upgrades. You likely need to configure your IDE to use the right path to java.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline