Problems installing 4.3 on Linux

For general Protocase Designer questions. Anything and everything about Protocase Designer except support questions.

Moderators: cduffney, akirk, mpyne, mrodden

acidblue
Posts: 5
Joined: Wed Jan 23, 2013 3:54 pm

Problems installing 4.3 on Linux

Post 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)

dronne
Posts: 353
Joined: Wed Nov 18, 2009 10:54 am

Re: Problems installing 4.3 on Linux

Post 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.
--Douglas Ronne
Lead Developer

dronne
Posts: 353
Joined: Wed Nov 18, 2009 10:54 am

Re: Problems installing 4.3 on Linux

Post 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
--Douglas Ronne
Lead Developer

acidblue
Posts: 5
Joined: Wed Jan 23, 2013 3:54 pm

Re: Problems installing 4.3 on Linux

Post 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.

dronne
Posts: 353
Joined: Wed Nov 18, 2009 10:54 am

Re: Problems installing 4.3 on Linux

Post 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.
--Douglas Ronne
Lead Developer

acidblue
Posts: 5
Joined: Wed Jan 23, 2013 3:54 pm

Re: Problems installing 4.3 on Linux

Post 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

dronne
Posts: 353
Joined: Wed Nov 18, 2009 10:54 am

Re: Problems installing 4.3 on Linux

Post by dronne »

Excuse me, it should have been

Code: Select all

cp -R /usr/local/share/Protocase\ Designer/library ~/ProtocaseDesigner/
--Douglas Ronne
Lead Developer

acidblue
Posts: 5
Joined: Wed Jan 23, 2013 3:54 pm

Re: Problems installing 4.3 on Linux

Post by acidblue »

Sorry no that doesn't work either,get the same error.

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

dronne
Posts: 353
Joined: Wed Nov 18, 2009 10:54 am

Re: Problems installing 4.3 on Linux

Post 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/
--Douglas Ronne
Lead Developer

acidblue
Posts: 5
Joined: Wed Jan 23, 2013 3:54 pm

Re: Problems installing 4.3 on Linux

Post by acidblue »

I think that did it.
Program loads normally now.
Let me do some poking around.
Thanks...

Post Reply