error: failed to stat /var/lib/gdm/.gvfs: Permission denied


I am receiving the above error while installing Sun Studio, and it continues the installation. I found that it is a known bug in openSUSE, but I couldn’t locate a fix for it. I tried the reinstallation of gvfs through YaST as advised, but nothing changed.

After the sun studio installation, when I try to run the program, it gives me:

Validating NetBeans IDE at: "/opt/SUNWspro/../netbeans-5.5.1"

Sun Studio is unable to find a supported version of the NetBeans IDE at the specified location.
Sun Studio requires a NetBeans IDE version 5.5.1 with NetBeans C/C++ Development Pack version 5.5.1
installed. Sun Studio looks for a valid NetBeans IDE installation in the following order:
1) Location specified with --netbeanshome command line option
2) At /opt/netbeans-5.5.1 location, if exists
3) At /opt/SUNWspro/../netbeans-5.5.1 location, if exists
4) At /opt/SUNWspro/../../netbeans-5.5.1 location, if exists

Please run the System Preparation Tool (prepare_system), if available, to set up your environment.

Sun Studio should have installed netbeans, but it might have failed to do so because of the above error. prepare_system command only shows what is missing, but doesn’t allow me to change the path to netbeans or java.

I installed netbeans through YaST, and have the jdk and the jre required. Netbeans is working now, and I run it as:

/usr/share/netbeans/bin/netbeans --jdkhome /opt/SDK/jdk

for some reason the jdk is now shown automatically, although the /etc/java/java.conf contains:

# System-wide Java configuration file                                -*- sh -*-
# JPackage Project <>
# Location of jar files on the system
# Location of arch-specific jar files on the system
# Root of all JVM installations
# You can define a system-wide JVM root here if you're not using the default one
# Options to pass to the java interpreter

and these paths exists,

I don’t know how to fix the java paths problems (but it is not affecting the starting of netbeans since I have the above option), and how to make the netbeans shown to the sun studio

Other information:

#uname --all
Linux linux-92ga #1 SMP 2008-06-07 01:55:22 +0200 x86_64 x86_64 x86_64 GNU/Linux

#java -version
java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b24)
IcedTea 64-Bit Server VM (build 1.7.0-b24, mixed mode)

I appreciate your help very much, thank you in advance,

Kind Regards,