Tuesday, September 18, 2012

JDK Installation Issue

I was installing JDK today on a new virtual desktop that will be used by developers. I got the JDK to install fine but was unable to run the JMeter Java application used for load testing. It was throwing an error that the java.exe is not recognized.

error "'java.exe' is not recognized as an internal or external command, 
operable program or batch file. 
errorlevel=9009 

I found the solution at http://www.coderanch.com/t/95488/Testing/start-JMeter. The user tgrtgr lakmini added the solution with a step by step. The trick is to change the PATH system variable to include the path of the JRE runtime binary folder. 

I had the same problem with Win 7. I copied the java installed path and copied it to environment variable path in the Advance system settings..
1. Copied "C:\Program Files (x86)\Java\jdk1.7.0_01\bin" this path
2. Right click Computer --> properties --> Advance system setting --> environment variables
3. In the system variable section select path and then paste the above copied java installed path following with ";"

It should look something like, C:\Program Files (x86)\Java\jdk1.7.0_01\bin, or  C:\Program Files (x86)\Java\jre7\bin for the JDK 7 version. 

Keep your eyes towards the eaves of IT.

Monday, September 17, 2012

SharePoint 2010 Jump Links

Today I am working with SharePoint 2010 to create some training documentation that is more accessible and centralized than just Googling for answers. I am working on a page and it was becoming large enough to be unwieldy and thought jump links would be a nice way to navigate pages. Now my original thought was that this would be clear and easy, but no it is not! I found a solution from another blog that works great so I thought I would share it.
http://mccoard.net/ThoughtfulTech/post/2011/05/11/Creating-a-Bookmark-(anchor)-link-in-SharePoint-2010.aspx

Monday, September 10, 2012

Installing Visual Studio 2010 on a VM

I was tasked to install Visual Studio 2010, among other developer's software, on a virtual machine this past week. I spent the last week doing numerous installs with little to no trouble, until I attempted to install Visual Studio 2010. The software before VS 2010 had all been digital media, but VS was a DVD. For some background, I am using a dummy terminal to connect to my host OS which then remotes the to virtual machine. Long story short, Visual Studio 2010 did not rip properly when creating the ISO and the MSDN ISO gave a file invalidation error. In the end, I had to use the Visual Studio 2010 Pro Test web installer to unerringly install the program and afterwards change the product key.

Protip: If you ever lose your Product Key, open up the Setup.sdb file from the original ISO or disk in Notepad or another text editor. Then, search for the [Product Key] section of the document which will have the Product Key copied down. I found this solution at...
http://www.mydigitallife.info/how-to-change-integrated-product-key-in-visual-studio-installer/