Tweaking Kojo on Linux

Go into $kojo/etc/kojo.conf, and modify default_options to include:

  • —laf Nimbus (for the Nimbus look and feel, which might look better to you than the native look and feel)
  • -J-Xss (to increase the stack size, if you run into stack overflow errors while running scripts that use recursion)

Example:
default_options="—branding kojo -J-client -J-Xss1m -J-Xms32m -J-Xmx512m -J-XX:PermSize=32m -J-XX:MaxPermSize=256m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled —laf Nimbus"

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License