Does anyone know how to make eclipse or netbeans use the graphics card in optimus laptops by invoking optirun (bumblebee) inside the IDE so that one can just use the run but
Just use optirun to start the IDE. For example, optirun eclipse or optirun netbeans
optirun eclipse
optirun netbeans