tag:blogger.com,1999:blog-3215661876653517169.post8004914833444438888..comments2023-12-21T01:22:02.387-05:00Comments on Genome Toolbox: Install Haploview on Vista / Windows 7 / Windows 8Unknownnoreply@blogger.comBlogger20125tag:blogger.com,1999:blog-3215661876653517169.post-46588075889341517762013-12-04T09:52:01.929-05:002013-12-04T09:52:01.929-05:00Great, this simple fix seems to be working for a l...Great, this simple fix seems to be working for a lot of people.Adminhttps://www.blogger.com/profile/01259871670672195666noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-18915148855074868302013-12-01T11:53:19.326-05:002013-12-01T11:53:19.326-05:00Under- Run this program as... "windows 7"...Under- Run this program as... "windows 7" and it worked. Thanksamithttps://www.blogger.com/profile/08276526827933434325noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-35909102766341177242013-10-28T05:14:11.792-04:002013-10-28T05:14:11.792-04:00This worked for me. Thank you!This worked for me. Thank you!matteraskhttps://www.blogger.com/profile/13734692541212856554noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-11645009743761487982013-08-19T17:00:44.348-04:002013-08-19T17:00:44.348-04:00Yet another person who had trouble with this; figu...Yet another person who had trouble with this; figured it out:<br /><br />I have 64-bit Windows 8. I did everything from the original blogspot and noticed the command window would pop up when I double-clicked the .bat file with an error: "Unrecognized option: -d64"<br /><br />So I removed -d64 from the .bat and everything worked.<br /><br />So if you put Haploview.jar into C:\Haploview, Haploview.bat should include: java -jar "C:\Haploview\Haploview.jar" (with quotes included)<br /><br />Hope this helps!Kevin Nealhttps://www.blogger.com/profile/17938844015975862016noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-91592256302181650422013-08-07T14:55:40.452-04:002013-08-07T14:55:40.452-04:00Yay!!
Thank you :)Yay!!<br />Thank you :)Apurvahttps://www.blogger.com/profile/11578853232056472278noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-20258745206584631602013-08-02T03:21:47.145-04:002013-08-02T03:21:47.145-04:00it works! and the method with .bat file did not wo...it works! and the method with .bat file did not work.<br />Thank you. Misha Monahovhttps://www.blogger.com/profile/13208073527614854940noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-57652713769120910062013-07-31T10:14:55.619-04:002013-07-31T10:14:55.619-04:00Simple and easy, many thanks mate;
Working like a ...Simple and easy, many thanks mate;<br />Working like a boss :DAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-27604983510462147462013-07-10T08:37:35.501-04:002013-07-10T08:37:35.501-04:00Hi,
After fighting this problem for a goodly time,...Hi,<br />After fighting this problem for a goodly time, helped by your suggestions and uncle Google, I just solved this problem for a coworker in the following way:<br />System: 32bit Win7, danish locale.<br />Java: JRE7<br />Without making changes to path or environment variables, I instead downloaded the Haploview Installer and ran it. This gave a shortcut and associated .exe-file, which I right-clicked and chose properties...Compatibility.... Run this program as... "Windows 98/Me". And It worked - both on her laptop and desktop pc.Anonymoushttps://www.blogger.com/profile/12813940554632279598noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-64530457695583685192013-07-09T23:46:29.257-04:002013-07-09T23:46:29.257-04:00No problem :)
As for opening haploview in the fu...No problem :) <br /><br />As for opening haploview in the future... when you go to "Environmental Variables" to create the PATH file, that just stays there unless someone changes it. So you don't need to do that again. But you do need to open command prompt and type in the bit about<br /><br />C:\Program Files\Java\jre1.6.0_24\bin (to change the directory) <br /><br />and then the bit about <br /><br />java -jar "C:\Program Files\Java\Haploview.jar" (to launch Haploview.jar)<br /><br />I followed the Admin's suggestion to make a .bat file to do these steps for me. I would just add a bit of extra detail to the Admin's notes, because I am not a programmer/computer guru and there are little things that might be obvious to others but not to someone like me... for instance, how to make a .bat file!<br /><br />I opened a Notepad document, and typed the following into the blank doc:<br /><br />cd C:\Program files\Java\jre1.6.0_24\bin<br />java -jar "C:\Program Files\Java\Haploview.jar" <br />pause<br /><br />Then I saved it as "Launch Haploview.txt" i.e. saved as a plain old text file.<br /><br />It is important that the second part (the java -jar bit) is on a separate line to the cd change directory part. I had them on the same line originally and it wasn't working for me! So frustrating! I also added the line with "pause" because otherwise the command prompt window opens and closes instantly, and if there are any errors or problems with running the file, you don't have time to see the error message. That "pause" will make the command prompt window stay open and you can see your command running properly or any errors that come up. But first you need to change the txt file into a bat file. <br /><br />My flatmate told me that to turn a txt file into a bat file you have to change it in command prompt window, but I found a simpler way on yahoo answers (of all places):<br /><br />This is from http://answers.yahoo.com/question/index?qid=20080427142551AA8Cl7C<br /><br />>Open up the text file in Notepad, and from the "File" menu choose "Save As...". When the prompt comes up, save it as the name of your batch file ENCLOSED IN QUOTES. If the file name isn't enclosed in quotes, it will not save it as a .bat. For example save as:<br /><br />"batchfilename.bat" (quotes included!) <br /><br />You will be prompted that the file extension is changing, but that's okay, just acknowledge and approve the change. Then, you're done.< <br /><br />That worked for me... the file changed to "Launch Haploview.bat" and then I had a new .bat file. I just created that bat file on my desktop so I didn't even need to create a shortcut, I just double-click the .bat file and it opens command prompt, runs the command, and opens Haploview. You can close the command prompt window after Haploview is open.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-29209984838320803082013-07-09T09:17:39.967-04:002013-07-09T09:17:39.967-04:00Kaileigh, if you create a windows .bat file specif...Kaileigh, if you create a windows .bat file specifying the path to the java.exe version that worked in quotes and the location of the .jar file in quotes all you will need to do in the future is double click on the .bat file and Haploview will automatically start up. See #3 in main post for more details and #4 for creating a shortcut to the .bat file.Adminhttps://www.blogger.com/profile/01259871670672195666noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-48631772684693477942013-07-09T01:34:10.195-04:002013-07-09T01:34:10.195-04:00After over 6 hours of trying to get haploview to r...After over 6 hours of trying to get haploview to run, Bec, you finally got it up and functioning for me. Thank you! Do I have to go through this entire process every single time I want to open haploview? Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-28578813992923905232013-07-05T10:01:18.569-04:002013-07-05T10:01:18.569-04:00The post has just undergone a major revision that ...The post has just undergone a major revision that has incorporated feedback from commenters. It is much more comprehensive and applies to both 32- and 64-bit Windows operating systems. Hope this solves a lot of problems previous commenters were having.Adminhttps://www.blogger.com/profile/01259871670672195666noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-18876337683580790412013-07-04T20:32:45.149-04:002013-07-04T20:32:45.149-04:00Thanks, Bec. I have been meaning to update this p...Thanks, Bec. I have been meaning to update this post for a while, especially with the bit about the changing the PATH variable. Getting Haploview to work on newer 32-bit Windows OSs is never easy, but hopefully the above comments will be useful to those trying to do so in the future. Thanks again.Adminhttps://www.blogger.com/profile/01259871670672195666noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-17954340631244245682013-07-04T10:59:32.592-04:002013-07-04T10:59:32.592-04:00As far as I understand it, this makes a path that ...As far as I understand it, this makes a path that the operating system uses to locate where the executable file java.exe is and will let the computer open the older version of Java when you run a .jar file.<br /><br />3) You have to open command prompt in Windows. I went to the start menu, and in the search bar I typed "cmd", what came up was "cmd.exe" which I clicked on to open the black command prompt window. By default it said C:\Users\Bec. To change the directory so it reads C:\, I typed: cd.. then enter. Then did it again. <br /><br />4) I had tried typing "java -jar Haploview.jar" (without quotes) into command prompt before but I had still got the error. But what worked was changing the directory to specify where the java.exe file was (this should be the same as the JAVA_HOME path just created), and then specifying the file path of where my Haploview.jar was, all in one line. <br /><br />To change the directory, I typed "cd Program Files" then enter, then "cd Java" then enter, then "jre1.6.0_24" (the name of the old version of java) then enter, then "bin" then enter (all without the quotation marks). It should then say C:\Program Files\Java\jre1.6.0_24\bin> . Then type the following:<br /><br />java -jar "C:\Program Files\Java\Haploview.jar" <br /><br />with the quotation marks around the filepath of the Haploview.jar file... this bit in quotes is the folder where I originally had saved the Haploview.jar file. I think it will probably work in another folder as long as you put the exact filepath in quotes when you do the command.<br /><br />Then hit enter... the command prompt blinked for about 20 seconds (which is good as I had been getting error messages instantly before that) and then Haploview opened!<br /><br />I hope this helps anyone else trying to make Haploview work and I hope it works for you too. My flatmate tried this exact same method on his Windows 7 (32bit) computer and it worked for him as well, even though I had tried it on Windows Vista. He and I think the problem was that Haploview was created on a specific version of Java Runtime Environment --- given the fact that Haploview seems to have not been changed for a while, while Java has continually updated, maybe it is a combination of the fact that an older version of Java is needed, as well as being very specific in specifying where your java.exe is and where the Haploview.jar file is when you want to run it. <br /><br />Anyone with programming background... can you explain further maybe? But as long as it works, I don't really care why :)<br /><br />BecAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-53820155834635680932013-07-04T10:58:44.854-04:002013-07-04T10:58:44.854-04:00Unfortunately none of these methods, even trying v...Unfortunately none of these methods, even trying various modifications to the bat file, worked for me.. I still kept getting the error. I am not that good at programming but eventually after reading forums on general Java issues I found a combination of stuff that worked for me. I won't go through all the stuff I tried but just list the steps that worked:<br /><br />1) Find an older version of Java (around 2009 is good) which would have been the version when Haploview was first made/used. The current version of Java is JRE(v7.25), but I also had JRE(v6), JRE(v1.6.0_24) and JRE(v1.6.0_07). I could see a folder for each version when I went to C:\Program Files\Java. I am not sure if the older versions are still available online for download, but I can try to upload the files here or people can email me for an older version if I am not able to upload files. <br /><br />2) You have to make a PATH in the environmental variables that points to the right folder. To do that:<br /><br /> - a) Right Click My Computer. Go To Properties.<br /> - b) Click Advanced System Settings.<br /> - c) Click Environment Variable<br /> - d) In the Environment Variable window, I had two boxes, one on top that says "user variables" and one on bottom that says "system variables". Just under the lower "system variables" box, click "NEW"<br /> - e) Type "JAVA_HOME" (the underscore is important) in the Variable Name box, type "C:\Program Files\Java\jre1.6.0_24\bin" in the Variable Value box. Then click Ok, and it should appear in the system variables box. Then just click ok to get out of that dialog. <br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-20122726013641962012013-07-04T10:58:10.581-04:002013-07-04T10:58:10.581-04:00I was bashing my head against a brick wall for 4 h...I was bashing my head against a brick wall for 4 hours or so to try to figure out how to get around this issue... I will try to post this in a couple of comments as I was having issues to post.<br /><br />I too tried to download the Windows Haploview installer from the Haploview website (I am using 32bit Windows Vista) and I could install it no problems, but when I clicked on the icon to open Haploview, I got the same error message "Error: Unable to launch Haploview. Cannot run program: CreateProcess error=2, The system cannot find the file specified". I then downloaded the Haploview.jar file from the Haploview website and tried launching Haploview by double-clicking it (same error), by opening command prompt window and typing: java -jar Haploview.jar (same error), and by creating a bat file as outlined by the original poster (same error). <br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-19528162084682617532013-06-27T08:42:01.116-04:002013-06-27T08:42:01.116-04:00Do you get a specific error message or will nothin...Do you get a specific error message or will nothing happen? If nothing is happening it may be an issue with the Haploview directory in the .bat file not being recognized appropriately by Windows (spaces in file directory names tend to cause issues). Will it work if from the Windows command prompt you go (cd) to the directory that you downloaded the Haploview.jar file and type "java -jar Haploview.jar" at the prompt?Adminhttps://www.blogger.com/profile/01259871670672195666noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-29783513111169094642013-06-26T22:45:16.984-04:002013-06-26T22:45:16.984-04:00I am using 32bit window 7 and recent JRE(v7.25). I...I am using 32bit window 7 and recent JRE(v7.25). I followed yor recommendation except '-d64'. However, it still doesn't work. Do you have any other comments for me?<br /><br />Thanks.Anonymoushttps://www.blogger.com/profile/13107081022495256848noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-74848929011426055132013-06-09T19:56:56.967-04:002013-06-09T19:56:56.967-04:00Hi Ben! I have Java version 1.6.0_37 (64 bit) on ...Hi Ben! I have Java version 1.6.0_37 (64 bit) on my laptop and the most current release (as of May 15) on my desktop. Both work using this method. I am less than an expert with Java, but a few things that may be useful to check is to ensure you have the correct path specified to the downloaded Haploview.jar file in your command and that you have the latest release of Java installed on your machine. You can also drop the -d64 option, but that really shouldn't make a difference. Hope you figure things out and let me know what the fix is so I can post it for others!Adminhttps://www.blogger.com/profile/01259871670672195666noreply@blogger.comtag:blogger.com,1999:blog-3215661876653517169.post-24891657385054978642013-06-07T03:46:03.727-04:002013-06-07T03:46:03.727-04:00May I know what Java version you are currently usi...May I know what Java version you are currently using? I tried the method mentioned but I still get the same error prompt.<br /><br />Thanks!Anonymoushttps://www.blogger.com/profile/07617228990415554716noreply@blogger.com