On Fri, Jun 10, 2011 at 1:05 PM, András Csányi <sayusi.a...@gmail.com> wrote: > Hi All, > > I would like to use netbeans to programming in java language. I can't > start netbeans because "Cannot find java...". I thought, no problem > because here is the fantastic eselect tool and I'm going to set up the > java environment on my machine. But, I made a mistake. On my machine > only sun-jdk-1.6.0.26 is installed and I set up this to system-vm. By > the way, the system-vm is not accessible for user, only for root. On > one hand, after this I tried to delete or disable the system-vm but I > didn't find any option for this in eselect. On the other hand, to use > the same java-vm as system-vm and as user-vm is not possible because > the eselect not able to do this setup. > > Here is my question: > - how can I change to user-vm a system-vm when I have only one > installed java-vm which is set up as system-vm? > > Thanks for any help in advance!
Maybe use java-config instead of eselect. Something like "java-config -s 1"