Intellij IDEA

Feb 04, 2009

IntelliJ IDEA is a nice IDE. It said that I should set JDK_HOME before I ran it. That's simple!!!

open terminal and type 'vim ~/.bashrc', add 'JDK_HOME=/usr/lib/jvm/java-6-sun ' at the bottom of the file. THEN, you can run by type 'sh ./bin/idea.sh'.

Ubuntu ide java

'^M' Problem

Jan 21, 2009

Today, I try to cp _vimrc file from Win to .vimrc file of Ubuntu,
but after cp _vimrc .vimrc command and running vim, there is a mistake that vim cannot deal with the file because '^M'.
It is just a little problem between dos and linux format of text. Download dos2unix, and u can use command 'dos2unix filename' to change dos format to unix format which is used in Ubuntu.

Ubuntu ubuntu vim