I write a small java program to read file and do the string matching in windows 8 by using net beans. But when i compile it on ubuntu by using terminal following message appeared. Is there any default packages in ubuntu , for following packages in the error.
The program 'javac' can be found in the following packages:
* default-jdk
* ecj
* gcj-4.6-jdk
* gcj-4.7-jdk
* openjdk-7-jdk
* openjdk-6-jdk
Try: sudo apt-get install <selected package>
ucsc@ucsc-VirtualBox:~/Desktop/Question$