Page 1 of 2

Problems installing 4.3 on Linux

Posted: Wed Jan 23, 2013 4:05 pm
by acidblue
Just downloaded the latest version 4.3 on Linux Mint 14 64bit.

When I run in terminal

Code: Select all

sh install.sh
the terminal screen flashes/scrolls the user agreement continuously, like it's stuck on a loop,making it impossible to install.
Using java version "1.7.0_09"
OpenJDK Runtime Environment (IcedTea7 2.3.4)

Re: Problems installing 4.3 on Linux

Posted: Thu Jan 24, 2013 1:08 pm
by dronne
Have you tried running the installer as root? I apologize the installer is not more sophisticated, there is so much to be done we haven't put much effort into the linux installer.

I just tested it on an Archlinux system. It fails (though doesn't loop) if I try to install it to the default directory without root privileges. With root privileges it installs and runs fine. The installer is just a shell script, therefore has nothing to do with Java.

The following commands from the jdesigner directory should do the same thing:

cp -R Protocase\ Designer /usr/local/lib/
install -d /usr/share/Protocase\ Designer
cp -R library /usr/share/Protocase\ Designer/

then download the attached launcher file and place it in /usr/local/bin and execute

Code: Select all

chmod 755 ProtocaseDesigner.sh
now if /usr/local/bin is in your path you should be able to type ProtocaseDesigner.sh and start the program.

One word of advice, OpenJDK seems to work flawlessly for jdesigner except transparency is not handled well. In edit->preferences, find transparency and disable it.

Re: Problems installing 4.3 on Linux

Posted: Thu Jan 24, 2013 1:11 pm
by dronne
Apparently the attachment is not working.

this is the file ProtocaseDesigner.sh:

Code: Select all

#/bin/sh                                                                                                                                                                                                                                       
install -d  ~/ProtocaseDesigner/
cp -R /usr/local/share/Protocase\ Designer/library ~/ProtocaseDesigner/
LD_LIBRARY_PATH=/usr/local/lib/Protocase\ Designer/:/usr/local/lib/Protocase\ Designer/lib/:$LD_LIBRARY_PATH java -jar /usr/local/lib/Protocase\ Designer/jdesigner.jar >> ~/ProtocaseDesigner/error.log 2>&1
note that starting at LD_LIBRARY_PATH= it is all one line

Re: Problems installing 4.3 on Linux

Posted: Thu Jan 24, 2013 3:29 pm
by acidblue
Thanks for the suggestions, it works ok.
But now im having display problems.
When I click file>New:
The New From Template window is displayed very small, so small it's bearly noticable,
I have to play with the mouse to get the window to expand, but the window is blank when I finally get it to expand plus clicking on any menu items seems to be disabled.

Re: Problems installing 4.3 on Linux

Posted: Thu Jan 24, 2013 4:46 pm
by dronne
It sounds like your library is empty for some reason. Oh, I think I know why! As your regular user,

Code: Select all

mkdir ~/ProtocaseDesigner
cp -R /usr/share/jdesigner/library  ~/ProtocaseDesigner/
and then try it.

Re: Problems installing 4.3 on Linux

Posted: Thu Jan 24, 2013 5:37 pm
by acidblue
Getting error when I try

Code: Select all

cp -R /usr/share/jdesigner/library ~/ProtocaseDesigner/
tried as root aswell
Error:

Code: Select all

cp: cannot stat `/usr/share/jdesigner/library': No such file or directory

Re: Problems installing 4.3 on Linux

Posted: Fri Jan 25, 2013 8:49 am
by dronne
Excuse me, it should have been

Code: Select all

cp -R /usr/local/share/Protocase\ Designer/library ~/ProtocaseDesigner/

Re: Problems installing 4.3 on Linux

Posted: Sat Jan 26, 2013 12:16 am
by acidblue
Sorry no that doesn't work either,get the same error.

There isn't any Protocase Designer folder in /usr/local/share.

Re: Problems installing 4.3 on Linux

Posted: Sat Jan 26, 2013 1:20 pm
by dronne
I see I had a typo in the early instructions for the manual install.

From the unzipped jdesigner install folder, as root run:

Code: Select all

install -d /usr/local/share/Protocase\ Designer
cp -R library /usr/local/share/Protocase\ Designer/
I had accidentally typed

Code: Select all

install -d /usr/local/share/Protocase\ Designer
cp -R library /usr/local/share/Protocase\ Designer/

Re: Problems installing 4.3 on Linux

Posted: Sun Jan 27, 2013 1:54 am
by acidblue
I think that did it.
Program loads normally now.
Let me do some poking around.
Thanks...