Monday, March 28, 2011

Troubles with XML in JDK7 and changing to JDK6

Today I wanted to write some xml document which would be similar to some other xml in PHP project. So I opened the xml document and my NetBeans7Beta froze and I had to kill them through terminal. I tried several ways to force my NetBeans to open that document.
After three or four time I had to kill them I tried to switch JDK. I had been using JDK7 so I wanted to change it to JDK6. I didn't find a way to do that inside NB IDE so I tried to google it. Many thanks to this article.
I changed the line in NetBeans/etc/netbeans.conf to netbeans_jdkhome="path_to_java" (in my case path_to_java is /usr/lib/jvm/java-6-sun-1.6.0.24" - if you install java from repository, your path might be same).
I don't actually know if the JDK7 was the cause of my problem but it seems to be ok after changing to JDK6.

First post

This is my first post to blog in my whole life. I have never use blogs until now. But world is changing and so do my opinions to life and so on. Well for now I just have to say welcome and excuse my english