Author Topic: IntelliJ IDEA  (Read 519 times)

Offline adizero

  • Member
  • **
  • Posts: 259
IntelliJ IDEA
« on: January 19, 2016, 03:15:15 PM »

http://www.jetbrains.org/display/IJOS/Download


Mga Bro

may nakapaginstall na ba sa inyo nito ?  programming na meron java.  mdyo kakahiya pero instllation hindi naming magawa.  wala sa yum and rpm.

lahat ng version na download naming pero lahat resulted to error.    "@@class_path@@: command not found"

dko mainitdihan ung java error.   ni set naman naming ung classpath.   Ano ung mali naming sa environment ?

napagana nyo?


OS : CentoS

1.)  .bashrc
export JAVA_HOME=/usr/java/jdk1.8.0_65
export JRE_HOME=/usr/java/jdk1.8.0_65/jre
export JDK_HOME=/usr/java/jdk1.8.0_65
export CLASSPATH=".:/usr/java/jdk1.8.0_65/lib:/idea/ideaIC-135.1306/lib"
export class_path=".:/idea/ideaIC-123.169/lib:/idea/ideaIC-135.1306/lib"
export PATH=$PATH:$HOME/bin:JAVA_HOME:JRE_HOME:JDK_HOME:CLASSPATH:/usr/java/jdk1.8.0_65/bin:class_path:/idea/ideaIC-123.169/bin/scripts/unix

2.)  Java home
$ ls -l /usr/java/jdk1.8.0_65
total 25920
drwxr-xr-x. 2 root root     4096 Jan 19 02:54 bin
-rw-r--r--. 1 root root     3244 Oct  7 00:26 COPYRIGHT
drwxr-xr-x. 4 root root     4096 Jan 19 02:54 db
drwxr-xr-x. 3 root root     4096 Jan 19 02:54 include
-rwxr-xr-x. 1 root root  5104143 Oct  6 19:54 javafx-src.zip
drwxr-xr-x. 5 root root     4096 Jan 19 02:54 jre
drwxr-xr-x. 5 root root     4096 Jan 19 02:54 lib
-rw-r--r--. 1 root root       40 Oct  7 00:26 LICENSE
drwxr-xr-x. 4 root root     4096 Jan 19 02:54 man
-rw-r--r--. 1 root root      159 Oct  7 00:26 README.html
-rw-r--r--. 1 root root      525 Oct  7 00:26 release
-rw-r--r--. 1 root root 21099725 Oct  7 00:26 src.zip
-rwxr-xr-x. 1 root root   110114 Oct  6 19:54 THIRDPARTYLICENSEREADME-JAVAFX.txt
-rw-r--r--. 1 root root   177094 Oct  7 00:26 THIRDPARTYLICENSEREADME.txt


3.)  tar -xvf  ideaIC-13.1.6-src.tar

cd /idea/ideaIC-135.1306/bin/scripts/unix

 ./idea.sh
./idea.sh: line 159: @@class_path@@: command not found
Error: Could not find or load main class @@ide_jvm_args@@








Offline jeremypv

  • Member
  • **
  • Posts: 958
    • jeremypv.net
Re: IntelliJ IDEA
« Reply #1 on: January 19, 2016, 05:52:04 PM »
seems like you've downloaded the source code..., you need to build it first, or just download the binaries

TIP: when dealing with a tarball, try looking for README or INSTALL or some similar files, then /read/ it... :)
jeremypv

Offline adizero

  • Member
  • **
  • Posts: 259
Re: IntelliJ IDEA
« Reply #2 on: January 31, 2016, 11:50:35 AM »
thanks jeremypv.   Nainstall naming sya through binary.