mysql osx yosemite autostart launchctl

/Library/LaunchDaemons/com.mysql.mysql.plist :

<!--?xml version="1.0" encoding="UTF-8"?-->
<plist version="1.0">
  <dict>
    <key>KeepAlive</key>
    <true />
    <key>Label</key>
    <string>com.mysql.mysqld</string>
    <key>ProgramArguments</key>
    <array>
      <string>/usr/local/mysql-5.6.21-osx10.8-x86_64/bin/mysqld_safe</string>
      <string>--user=mysql</string>
    </array>        
  </dict>
</plist>
sudo chown root:wheel /Library/LaunchDaemons/com.mysql.mysql.plist
sudo chmod 644 /Library/LaunchDaemons/com.mysql.mysql.plist
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist

source : http://stackoverflow.com/questions/26476391/how-to-auto-load-mysql-on-startup-on-osx-yosemite

netbeans 7.4 maven javaee javadocs not found

Tags

, , ,

http://stackoverflow.com/questions/21964302/how-to-attach-javadocs-in-java-ee-netbeans

I am developing for a project, and sometimes I encounter some codes that I would like to read the documentations about. But I am having “Javadoc not found” in my tooltip,and attaching javadocs in my netbeans. Also there is this online api documentation (Online Java EE API Docs) but sometimes its a bit tedious for checking it everytime, is there a way that i can integrate it somehow in my netbeans?

I tried the Attach Javadoc… button below, but nothing seem to work.

enter image description here

Also, if you have a link where i can download a .jar of java-ee-apidocs, thanks. I already tried downloaded Java EE 6 Update 2 Javadocs, are there updated versions for Java EE7? Thanks!

 

Answer :

Go to Tools > servers > select_your_server > Javadoc
Click Add Zip/Folder
Browse for javadocee6.zip

 

I am using tomcat and glassfish. After i add to tomcat javadoc as said in the answer i was able to see javadocs.

netbeans bitbucket invalid hostname with jdk 1.8

Tags

i am using jdk 1.8 as default jdk for netbeans. But when i try to connect bitbucket for git pull and push, i couldnt see any local or remote branches in netbeans. After each try i see invalid hostname error in the notification window. After google search i find that there is a bug with https in jdk 1.8 that start with b117. so i downloaded and installed jdk 1.8 b116. Now everything works fine.

Audio driver for Windows Server 2008 on Virtual Pc 2007

If you are setting a Vista Virtual PC image up in Virtual PC 2007 you’ll soon realise that the audio doesn’t work. You’ll do a bit of Googling and find that Virtual PC 2007 has a ’special’ audio set up just for Vista but good luck to you finding information about how you actually get it running. I eventually stumbled on the answers.

It turns out that when you install the Virtual Machine Additions, the sound drivers are copied to “C:\Program Files\Virtual Machine Additions”. They aren’t actually installed, just stuck in there. So, go to Device Manager and ‘update’ the driver, tell it you have the disk and point it to the path above.