Tuesday, March 26, 2013

How to run PEAKS Studio/Viewer on Mac OS X or Linux?

Occasionally, we are asked by users whether PEAKS can run on Mac OS X or Linux. PEAKS is written in Java, theoretically it should work. This post will show the steps you need to do to make PEAKS run a Mac OS X. The steps needed should be very similar to make PEAKS work on Linux.

Disclaimer: PEAKS does not officially support any OS other than Windows as of the time I am writing the post. The software may not be fully functional. Activating the software on OS X or Linux will consume the license, which means the same license can not be used again. I strongly recommend only following the steps to configure PEAKS Viewer (the unlicensed Studio) on OS X or Linux for PEAKS result sharing and presentation purposes.

Before you start

PEAKS is a Java program. So before porting PEAKS to Mac, we will make sure that Java is installed. Open a terminal window and type in the command:
java -version
If Java is installed, the version information will be displayed. In OS X Mountain Lion, if Java is not installed, this command will also trigger a window for Java installation.

Get the files

Since PEAKS only have the installer for Windows, you will need a Windows computer to install PEAKS and copy the installed files over to Mac.

To proceed, download PEAKS from the website on a Windows PC. Run the installer, follow the on screen instructions to complete the installation. By default, PEAKS 6 will be installed on C:\PeaksStudio6 directory. Copy the directory to a USB drive and copy it to Mac OS X, e.g. /Users/userx/PeaksStudio6.

Configure PEAKS on OS X

Open a Terminal window and change the directory to the PEAKS directory, for example, /Users/userx/PeaksStudio6, by typing the command:
cd /Users/userx/PeaksStudio6
We need to replace the Windows version JRE with the one installed in OS X:
rm -r -f jre
mkdir jre
cd jre
mkdir bin
cd bin
ln -s /usr/bin/java java.exe
cd /Users/userx/PeaksStudio6
We want to make sure PEAKS starts in one JVM (type the following on one line with a white space after ".jar"):
jre/bin/java.exe -cp peaksstudio.jar com.bsi.tools.computenodenumber.PerformanceConfigDialog
In the performance configuration dialog, select "Manually configure PEAKS performance" option and make sure that the "Start Client Separately" and "Start Compute Node Separately" checkboxes are unchecked. Click "Apply" and close the dialog.

Use a text editor, e.g. vim, to create the start up script peaks.sh:
#!/bin/sh
jre/bin/java.exe -Xmx12000m -splash:splash.png -jar peaksstudio.jar
The number 12000 means that PEAKS can use up to 12GB of RAM. You can change this value based on your computer configuration, but a higher amount is always preferred.

We need to make the script executable:
chmod u+x peaks.sh
Now you can start PEAKS by simply run the script:
./peaks.sh
There are one more thing to do. When PEAKS is opened, go to Preferences. In the "General" section, change the default project folder to a correct directory in OS X.

Now you can view your PEAKS results on a Mac!



31 comments:

  1. I have installed Peaks6 using this tutorial and it worked perfectly. I have now tried to do the same for Peaks7, and although it loads correctly when I try and open a project I can only load the DENOVO tab. PEAKS, PEAKS PTM and SPIDER will not load. What can I do?

    ReplyDelete
    Replies
    1. Thank you for the comments. I also noticed the same issue but did not get a chance to dig into it yet. I will post on the blog if I get a workaround.

      Delete
  2. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training from India . Nowadays Java has tons of job opportunities on various vertical industry.

    ReplyDelete
  3. It is extremely refreshing to locate truthful, dependable as well as efficient support these days but North park Mac Repair is exactly that. His 5 star comments are spot on. San Diego MacBook water damage repair fulfilled me at his workplace time we asked for to check out my damaged apple iphone six displays as well as changed it, examined it and had this within my anxious hand within absolutely no time….

    ReplyDelete
  4. I have checked this link this is really important for the people to get benefit from.payday loans

    ReplyDelete
  5. Outstanding blog, in my opinion site owners should acquire a great deal out of this blog its very user welcoming. rent a tribe

    ReplyDelete
  6. I guess this blog is perfectly incomparable.mark curry

    ReplyDelete
  7. Your article was worth reading, keep sharing this type of article ,I Love to read this article thanks for sharing. Download Clash Royale Apk

    ReplyDelete
  8. The expression "At its pinnacle" is fundamentally the same as in importance to "In its prime". ... Some different expressions that incorporate "Dissertation Proofreading Uk" utilized along these lines include: to "Arrive at a pinnacle" signifies to pick up the most significant level that you've at any point accomplished at something.

    ReplyDelete
  9. Mass spectrometry data analysis in proteomics is an inside and out manual for the hypothesis and practice of Video Animation Company dissecting crude mass spectrometry (ms) information in proteomics.

    ReplyDelete
  10. Buy Nano CBD Products| Nanoemulsifying Cbd Products| Curatio - Curatio CBD: Buy our nanoemulsifying CBD products with our proprietary technology to deliver full-spectrum CBD without THC. Get our nano CBD products to support your well-being. buy nano cbd hand sanitizer

    ReplyDelete
  11. Exploration intrigues Professor Bin Ma's examination advantages are in bioinformatics & Mba Assignment .. Along with his collaborators, he built up the PEAKS programming bundle.

    ReplyDelete
  12. This task is difficult but I will suggest that you should get help from YouTube videos or experts because if you do so, you will get positive result. Assignment writing services.

    ReplyDelete
  13. Infrequently, we are asked by clients whether peaks can run on mac os x or linux. Pinnacles is written in Automotive Services Center java, hypothetically, it should work. This post will show the means you need to do to make peaks run a mac os x.

    ReplyDelete
  14. Pinnacles doesn't authoritatively uphold any os other than windows as of the time I am composing the Best App For Rental Property Management post. The product may not be completely utilitarian.

    ReplyDelete
  15. Since peaks just has the installer for windows, you will require a windows pc to introduce Online Furniture Store Modern peaks and duplicate the introduced documents over to mac.

    ReplyDelete
  16. To continue, download peaks from the site on a windows pc. Run the installer, adhere to the Used Tires Car Shop USA on-screen guidelines to finish the establishment.

    ReplyDelete
  17. We have lots of free samples referring to which will help you to c=suceed in your study. One of them is the glass castle theme essay which gives an opportunity to analyze the relationship between Jeannette Walls and Rex Walls, the father of Jeannette.

    ReplyDelete
  18. Buy nano CBD merchandise curation - curation CBD: buy our nano emulsifying CBD merchandise with our Pay Someone To Do Assignment proprietary era to deliver full-spectrum CBD without THC. The expression "At its pinnacle" is basically the same in significance as "In its prime". ... A few specific expressions.

    ReplyDelete
  19. In the majority of cases, students commence composing their pieces of academic writing without any outline or applying the linear style in formatting the outline. Thus, if you ask write my outline for me from our experts, you may get the best quality work ever!

    ReplyDelete
  20. If you favor one specific game, you will most likely search for online casinos that have that exact game view. Our list of casinos will certainly help you find a casino that operates games by your favorite game provider.

    ReplyDelete
  21. The Shearling Jackets Coats style originates from the US Air Force, where it was worn by flight crew members, Only available at Top Celebs Jackets dot com.

    ReplyDelete
  22. Thank you so much for sharing all this wonderful information !!!! It is so appreciated!! You have good humor in your blogs. So much helpful and easy to read!
    Java Training in Noida

    ReplyDelete
  23. Hi! Thanks for this. I advice you to visit site and find best forex signals here.

    ReplyDelete
  24. Thanks for the best shARE AND I LOVED IT,
    cucotv

    ReplyDelete
  25. Thank you for posting such a great article! It contains wonderful and helpful posts. Keep up the good work


    Poshan Tracker App Download, Poshan Tracker App, Online Registration, icds-wcd.nic.in

    ReplyDelete
  26. This blog is what I was looking for. This piece of content will really help me. Thanks for sharing it. visit my site: fish collagen

    ReplyDelete
  27. This is a radiant tip especially to those new to the blogosphere. Short at any rate exact data… Thank you for sharing this one. An apparent need read post!maharashtra aaple sarkar

    ReplyDelete
  28. Vidmate is one of the most popular apps that you could use to download videos and songs from popular websites such as Vimeo, Dailymotion, YouTube, Instagram, FunnyorDie, Sex Video, Vine, Tumblr, Soundcloud, Metacafe, and many other multimedia sites. You can download videos from almost every video platform using Vidmate.VidMate for iPhone

    ReplyDelete