You are not logged in.
I just installed intellij-idea-community-edition from the AUR and got:
» yaourt -S intellij-idea-community-edition
resolving dependencies...
looking for inter-conflicts...
warning: insufficient columns available for table display
Packages (2): intellij-idea-libs-13.1.2-1
intellij-idea-community-edition-13.1.2-1
Total Download Size: 138.16 MiB
Total Installed Size: 329.42 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages ...
intellij-idea-libs-... 15.1 KiB 140K/s 00:00 [#####################] 0%
intellij-idea-community-edition-13.1.2-1-any 138.2 MiB 1392K/s 01:42 [############################################################] 100%
(2/2) checking keys in keyring [############################################################] 100%
(2/2) checking package integrity [############################################################] 100%
(2/2) loading package files [############################################################] 100%
(2/2) checking for file conflicts [############################################################] 100%
(2/2) checking available disk space [############################################################] 100%
(1/2) installing intellij-idea-libs [############################################################] 100%
(2/2) installing intellij-idea-community-edition [############################################################] 100%
WARNING:
Running IntelliJ IDEA using OpenJDK is officially unsupported
because of possible performance and graphics problemsThis warning in the end is exactly what I want to avoid since I installed intellij IDEA manually just before and got a lot of graphic issues.
I installed jdk7-compat from the AUR to get OracleJDK (just before installing intellij-idea-community-edition) but apparently, it's using OpenJDK by default.
How can I tell intellij IDEA to use OracleJDK instead?
Last edited by toogy (2014-05-20 15:10:58)
water vapor is invisible
Offline
So,
export IDEA_JDK="/opt/java7/"?
water vapor is invisible
Offline
Ok, I put " export IDEA_JDK='/opt/java7/' " in my ~/.zshrc and sourced it.
Just runned idea.sh but I still have the rendering issues. How do I know if Intellij IDEA is using the correct JDK or not?
water vapor is invisible
Offline
ps -eF|grep javaIf by rendering issues you mean that windows become unresponsive/blanked out when switching focus... join the club (also, what window manager are you using).
Last edited by Stebalien (2014-05-20 15:57:09)
Offline
» ps -eF | grep java
toogy 13436 13401 4 917109 389064 0 17:44 ? 00:00:49 /usr/lib/jvm/java-7-openjdk/bin/java -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=96m -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djsse.enableSNIExtension=false -XX:+UseCodeCacheFlushing -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Dawt.useSystemAAFontSettings=lcd -Djb.vmOptionsFile=./idea64.vmoptions -Xbootclasspath/a:./../lib/boot.jar -Didea.paths.selector=IdeaIC13 -Djb.restart.code=88 com.intellij.idea.MainNot using oracle....
Last edited by toogy (2014-05-20 16:02:56)
water vapor is invisible
Offline
How did you launch IDEA? I'm guessing that it isn't picking up that environment variable. Does `IDEA_JDK=/opt/java7 idea.sh` work? If so, you'll probably want to set that variable in a '/etc/profile.d/' script. ~/.zshrc is only sourced by interactive zsh instances so your DE (probably) won't pick up any environment variables you set there. See: https://wiki.archlinux.org/index.php/En … _Variables
Offline
Hmm, weird. I used to run IDEA with OpenJDK and things were just fine.
Offline
How did you launch IDEA? I'm guessing that it isn't picking up that environment variable. Does `IDEA_JDK=/opt/java7 idea.sh` work? If so, you'll probably want to set that variable in a '/etc/profile.d/' script. ~/.zshrc is only sourced by interactive zsh instances so your DE (probably) won't pick up any environment variables you set there. See: https://wiki.archlinux.org/index.php/En … _Variables
Launching with `IDEA_JDK=/opt/java7 idea.sh' works. My graphic issues disappear and it's correctly using OracleJDK.
I added `export IDEA_JDK=/opt/java7' in my ~/.xinitrc and it works now. Thank you Stebalien@
Hmm, weird. I used to run IDEA with OpenJDK and things were just fine.
It's probably because we don't have the same hardware, drivers...
water vapor is invisible
Offline