Tuesday, 27 December 2016

How to install scala on ubuntu 14.04

-Download scala.
-cd Download

-tar -xvzf scala-2.12.1.tgz

-copy scala folder to your home folder.

-cd scala-2.12.1
-cd bin
-./scala
scala REPL shell will appear.

:q to exit from REPL.

make your scala program in gedit file with .scala as extension.

-open scala REPL .

compile the program
-scalac HelloWorld.scala

Execute the program
-scalac HelloWorld

Sunday, 25 December 2016

netbeans -error-"not all requested modules can be enabled"

Go to the netbeans root folder/etc and open netbeans.conf.

Make sure the variable netbeans_jdkhome has the correct value, something like:

netbeans_jdkhome="/usr/lib/jvm/java-8-oracle"

How to run Visual Studio Code as root in Ubuntu 14.04

1)It is recommended to start vscode as a normal user. To run as root, you must specify an alternate user data directory with the --user-data-dir argument.



 sudo code --user-data-dir=~/root

How to install Tizen Studio on Ubuntu 14.04

we must be same place of repository.

->chmod +x <download file name>
->./<download file name>