OS X Mavericks Updates to SVN 1.7: How to rollback to Subversion 1.6

So I’m not an early adopter but after updating my personal Mac to Mavericks with little issues, I decided to upgrade my work Mac as well.

Besides Mavericks not shipping with Java and breaking all my hard work with Jasper Reports, I soon after discovered that it had also upgraded my Subversion to 1.7 which stopped me from being able to check in my code.

So I found this little tip from Kevin Broome that fixed my issue quickly.  I figured it could be done but Keven actually found where the old SVN 1.6 lived on the hard drive.

To summarize:

1) Make a backup of your SVN 1.7

sudo mv /usr/bin/svn ~/Documents/svn_1.7

2) Point to 1.6 in paths

sudo nano /etc/paths

3) Add the following to paths

/Applications/Xcode.app/Contents/Developer/usr/subversion-1.6/bin

4) Check SVN version

svn help

That’s it, you should see Subversion 1.6
 

[SOLVED] How to Fix JasperReport Server and iReports in OS X Mavericks

So I am evaluating using JasperServer for an upcoming project. As a result I have a Jasper development environment setup on my MacBook Pro which includes JasperReports Server and Jasper iReports.

Recently I upgraded to OS X Mavericks and everything Jasper came crashing down. After further investigation I discovered a few things:

  1.  Mavericks actually didn’t come with a version of JDK, and in fact removed the version was installed on my Mac.
  2. As a result, $JAVA_HOME appeared to be non-existent
  3. Also, after getting Java installed again the default path bin/java has changed to Commands/java

So, to get things working again I did the following:

Install Java

Go here to download the latest release of java.

 

Upgrade and Reinstall JasperServer

My existing copy of JasperServer would still not run so I upgraded to the latest release (v5.5 at the time of this writing).

Download the latest Jasper here

Note:  In hindsight I’m assuming that this because of the $JAVA_HOME issues and the installer setting paths in configuration files. (Therefore, you may not need to upgrade.  You might be able to simply re-install the existing version. If so, let me know in the comments.)

Once you do this, JasperServer should run again.

Test Java

Check that java is installed

open terminal and type

java -v

You should see your java version number…

To Check your $JAVA_HOME

Open terminal and type:

echo $JAVA_HOME

If you see an empty line then follow steps in Part B, else if you see a path like this:

/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home

then congratulations – continue on to the next step.

Part B) Manually Set Your Java_Home (Only if the last steps didn’t work)

So if you tried to set your JAVA_HOME  on your mac but it didn’t work then try doing the following which was originally written about here:

  1. Start up Terminal
  2. Type “cd ~/” to go to your home folder
  3. Type “touch .bash_profile” to create your new file.
  4. Edit .bash_profile with your favorite editor (or you can just type “open -e .bash_profile” to open it in TextEdit.
  5. Type “. .bash_profile” to reload .bash_profile and update any functions you add.

Now test your JAVA_HOME again – Open terminal and type:

echo $JAVA_HOME

Finally, Tell iReport where Java is in Mavericks

  • Right click on the iReport.app (in Applications)
  • Show Package Contents
  • Navigate to /Contents/Resouces/ireport/etc
  • Edit iReport.conf with your favorite text editor
  • Add a line that says something like
  • jdkhome=“/path/to/javahome”

Where “jdkhome” should match the path that appears when you type “echo $JAVA_HOME” in terminal  For example, mine is:

jdkhome="/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home"

Finally…

Save the file and try running iReport again.  Your problems should be solved.

Let me know on Twitter or in the comments if this helped you!

How to make your computer run faster…when it is running slow

Make Your Computer Run Faster Book

I’m happy to announce the release of my book How to Make Your Computer Run Faster on the Kindle platform.  Buy the book from Amazon or get it for FREE by simply entering in your email below.

In the Book You’ll Learn

* Scan & identify the files on your computer that are slowing it to a crawl* Learn what add-ons you need and how to disable all the other ones* Start-up programs are one of the biggest reason your computer runs like a turtle – I’ll show you how to stop them.* Uninstall the junk software that automatically downloads other software you don’t need

* Flush all the temporary files down the toilet to free up PC resources

* …and more…

I’ve spent more than 8 years doing technology consulting for a wide range of companies and they all had one thing in common – computers that would slow without warning.

So in the process I perfected method of “tuning up” Windows computers in less than 30 minutes.

This guide will show you how to make your computer as fast as it was the day you got it. Purchase the book from Amazon here or get it FREE by simply entering your email below, and I’ll send it to you to download instantly.

– Eliot