Installing netbeans 6.5M1 on ubuntu error:/usr/share/themes/Human/gtk-2.0/gtkrc:43: error: lexical error or unexpected token, expected valid token

6 08 2008

problem:

I get the following error when trying to run the linux netbeans 6.5M1 installer (netbeans-6.5_m1-php-linux.sh) on ubuntu 8.04:

/usr/share/themes/Human/gtk-2.0/gtkrc:43: error: lexical error or unexpected token, expected valid token

and then the installer window shows a blank screen.

(I’m guessing this post may relate to other versions of netbeans and ubuntu)

solution:

the problem was the jvm 1.5 I was running under, updating to jvm 1.6 solves the problem… I installed the sun-java6-jdk and the jvm dependencies then when executing the installer I specified the java home as follows:

./netbeans-6.5_m1-php-linux.sh --javahome /usr/lib/jvm/java-6-sun


Actions

Information

7 responses

2 09 2008
bfw

thank you very much!

1 12 2008
chaminda

thank you so much

1 12 2008
Josue

thank you very much! friend

22 01 2009
Ray da Costa

Vc pode tambem desativar o modo especial de thema… Sistema>>Preferencias>>Aparecias – [efeitos visuais] e retirar os efeitos do ubuntu… resolve!!

9 04 2009
Antoine

Thanks, that helped me a lot !

21 06 2009
Thunx

It’s too old but i Have JVM 1.6 and the problem persists… but i read the solution of ray da costa and it works!!

8 08 2009
pCachomba

Thx Ray da Costa.
Your tip helped me.

Leave a comment