I just finished installing TR 2.0.1 on Ubuntu EEE 8.04, and ran into a couple of problems that someone else may have. I thought I would share my experience just in case.
After unzipping TR under my /tmp folder, I tested it and it ran very well. I have the following Java packages installed:
* sun-java5-jdk
* sun-java6-jdk
I then did the following:
* I moved the tr-2.0.1 folder to /opt
* I added "/opt/tr-2.0.1/bin" to my path
* Ran the 'chown -R tpurl:tpurl /opt/tr-2.0.1" command so I would own everything under that directory.
I then tried to run tr.sh, and the following problems occurred:
* The tr.sh process would peg my CPU for about a minute
* The amount of RAM used would steadily increase over this period until it reached 100%.
* At this time, I would get "unable to fork" errors.
* I would also get errors telling me that I ran out of RAM.
I would then see a Netbeans splash screen, and then some version of Netbeans would start. After closing this window, another one would open. This happened until I would kill the tr.sh pid.
I think the problem had something to do with my $PATH variable. To fix everything, I did the following:
* rm -rf /home/tpurl/.thinkingrock
* sudo rm -rf /opt/tr-2.0.1
* (untar the tr tar file under /tmp)
* sudo cp -r /tmp/tr-2.0.1 /opt/
* sudo chown -R tpurl:tpurl /opt/tr-2.0.1
* I then removed any reference to Thinking Rock from my $PATH variable.
* Log out and log back in.
After all of that, I then created a file called ~/scripts/tr.sh with the following contents:
Code:
#!/bin/bash
cd /opt/tr-2.0.1/bin
./tr.sh
I can now run this script from anywhere, including a shortcut, and it just works.