Tuesday 15 November 2011

Config & code snippets

This is my notepad post containing some config and code snippets.

Enabling JRebel in the Eclipse run configuration


Select the JRE tab and paste the following (replace path with your local jrebel.jar location) in the VM arguments field:

-noverify -javaagent:/Applications/ZeroTurnaround/JRebel/jrebel.jar -Drebel.lift_plugin=true


Set Java maximum Java heap size when starting Eclipse (windows)


Drag "eclipse.exe" into the task bar to create an icon -> right click the icon and select "properties" -> choose "Shortcut" tab and paste the following (replace with local Eclipse path) into the target field:

"C:\Program Files (x86)\eclipse-jee-indigo-SR1-scala\eclipse Scala.exe" -vm "C:\Program Files (x86)\Java\jdk1.7.0_01\bin\javaw.exe" -vmargs -Xmx1152m


Fixing Pentaho data integration app on Mac OSX


Starting the data integration app results in:


LSOpenURLsWithRole() failed with error -10810 for the file /Applications/pentaho/data-integration/Data Integration 32-bit.app.


Can be resolved by:


chmod +x ~/Downloads/data-integration/Data\ Integration\ 32-bit.app/Contents/MacOS/JavaApplicationStub


Same fix works for 64-bit version.

1 comment: