Gil Heiman
Sr. Member
   
Offline
Posts: 322

|
 |
« on: August 06, 2007, 07:15:31 PM » |
|
Valuable info from user: "I found that the symbolic link that is created at /usr/local/bin/Workplace, does not work, even when executed from the installation path. To successfully run the application, I have to do the following: $ cd /opt/Collanos $ ./Workplace
If I run Workplace from outside the path, I get the following:
JVM terminated. Exit code=1 /usr/bin/java -jar startup.jar -os linux -ws gtk -arch x86 -launcher /usr/local/bin/Workplace -name Workplace -showsplash 600 -exitdata 1a30026 -vm /usr/bin/java -vmargs -jar startup.jar cd /
If I execute just Workplace from the installation path, I get: Collanos Workpace application already started in "/opt/Collanos/workspace/" location. Exiting.
Once again, hope this helps. Collanos Member"
Email 2: "If you set the AWT_TOOLKIT environment variable, it works.
$ export AWT_TOOLKIT=MToolkit $ sudo ./Workplace_linux_with_jre_1_0.sh
It's a known issue with Beryl and Java. See the following link. http://wiki.beryl-project.org/wiki/Windows_in_Java_and_Wine [^]
Regards, Collanos Member"
Email 1: "I just downloaded Collanos again to give it another go. Here's what I've found so far. The blank installer screen seems to be an incompatibility with Beryl. I've tried it with Beryl running on Xgl and AIGLX, and I get the same blank screen when I run the installer. When I switch over to the Gnome default, Metacity, it displays fine. I'm not sure what you're using for the installer, but if it's Wine based, that may be the problem, but it seems to only affect the installer.
I also noticed that unless I execute Workplace from within the path that Collanos is installed to, I get an error saying the JRE can't be found. Here's a for-instance.
Current Directory: /home/user_name/givensdj/ Execute: /opt/Collanos/Workplace Error: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Workplace. No Java virtual machine was found after searching the following locations: ./jre/bin/java
If I change directories to the install path and execute it, it goes just fine. A possible solution could be to put a check in to see if a JRE is available in the user's PATH and use it if it is a suitable. If not, then use the one included with Collanos.
Also, the .desktop file for the launcher is broken. It executes /bin/sh "/opt/Collanos/Workplace", but when I try to run that command, I get:
$ /bin/sh "/opt/Collanos/Workplace" /opt/Collanos/Workplace: 1: Syntax error: "(" unexpected
With that said, my /bin/sh is a symlink to /bin/dash. When I try running it with bash I get another error:
$ /bin/bash "/opt/Collanos/Workplace" /opt/Collanos/Workplace: /opt/Collanos/Workplace: cannot execute binary file
Like I said, though, when I change my working directory to the installation path (/opt/Collanos) and execute Workplace directly from my terminal, what limited testing I could do seemed to work fine.
A recap on my setup, I'm running Ubuntu 6.10 x86 w/ Gnome & Beryl primarily window manager and Metacity as backup window manager. I hope I've given you some information you can work with.
Cheers, Collanos Member"
|