# \-X install on a remote RedHat

**URL:** <https://forum.servoy.com/t/x-install-on-a-remote-redhat/5768>\
**Category:** Classic Servoy\
**Created:** [April 15, 2006, 4:31pm UTC](https://forum.servoy.com/t/x-install-on-a-remote-redhat/5768 "2006-04-15T16:31:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AGhisalberti](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@AGhisalberti](https://forum.servoy.com/u/AGhisalberti)\
**Post date:** [April 15, 2006, 4:31pm UTC](https://forum.servoy.com/t/x-install-on-a-remote-redhat/5768/1 "2006-04-15T16:31:05Z")

</div>

connected through ssh -X running the install command:  
/usr/java/j2sdk1.4.2/bin/java -jar servoy\_installer.jar  
i get these errors:

Exception in thread “main” java.util.zip.ZipException: No such file or directory  
at java.util.zip.ZipFile.open(Native Method)  
at java.util.zip.ZipFile.(ZipFile.java:112)  
at java.util.jar.JarFile.(JarFile.java:127)  
at java.util.jar.JarFile.(JarFile.java:65)

ZIP!? ![:shock:]( "Shocked")

Any idea what am i doing wrong?

Thanks

---

<div class="post-metadata">

**Author:** ![AGhisalberti](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@AGhisalberti](https://forum.servoy.com/u/AGhisalberti)\
**Post date:** [April 17, 2006, 8:57pm UTC](https://forum.servoy.com/t/x-install-on-a-remote-redhat/5768/2 "2006-04-17T20:57:08Z")

</div>

anyone?

I made another attempt on a Fedora core5 installed locally on my Mac PowerBook G4. Unfortunately the Servoy graphical installer seems to freeze right after i select the destination folder and click “Next”.

Is it really that hard to install Servoy on a linux box?

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [April 17, 2006, 9:24pm UTC](https://forum.servoy.com/t/x-install-on-a-remote-redhat/5768/3 "2006-04-17T21:24:47Z")

</div>

> AGhisalberti:  
> anyone?
> 
> I made another attempt on a Fedora core5 installed locally on my Mac PowerBook G4. Unfortunately the Servoy graphical installer seems to freeze right after i select the destination folder and click “Next”.
> 
> Is it really that hard to install Servoy on a linux box?

I’m not a linux expert but I’ve done it at least 20 times succesfully and both your errors don’t ring a bell. If I forward X connections to my box it just works. Note that X is setup in such a way that if your forwarding works there is no difference as in working on a local machine. If you have issues with how X works remotely just create an install.xml an install command line, very fast and easy, see docs for details.

---

<div class="post-metadata">

**Author:** ![AGhisalberti](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@AGhisalberti](https://forum.servoy.com/u/AGhisalberti)\
**Post date:** [April 19, 2006, 9:19am UTC](https://forum.servoy.com/t/x-install-on-a-remote-redhat/5768/4 "2006-04-19T09:19:41Z")

</div>

> I’m not a linux expert but I’ve done it at least 20 times succesfully and both your errors don’t ring a bell. If I forward X connections to my box it just works.  
> …  
> If you have issues with how X works remotely just create an install.xml an install command line, very fast and easy, see docs for details.

Hi Jan, i am not a linux expert either.

I tried with a servoy\_install.xml, here is the response:

/usr/java/j2sdk1.4.2/bin/java -jar servoy\_installer.jar servoy\_install.xml  
[Starting automated installation]  
[Starting to unpack]  
[Processing package: Program Files (1/10)]  
[ ERROR: Could not create directory  
/usr/home/admin1007539/Servoy/lib/images ]  
[Unpacking finished.]  
[Automated installation done]

Nothing is installed.

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [April 19, 2006, 9:23am UTC](https://forum.servoy.com/t/x-install-on-a-remote-redhat/5768/5 "2006-04-19T09:23:18Z")

</div>

> [ ERROR: Could not create directory  
> /usr/home/admin1007539/Servoy/lib/images ]

Sounds like you don’t have privileges to create that directory?

---

<div class="post-metadata">

**Author:** ![AGhisalberti](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@AGhisalberti](https://forum.servoy.com/u/AGhisalberti)\
**Post date:** [April 19, 2006, 10:09am UTC](https://forum.servoy.com/t/x-install-on-a-remote-redhat/5768/6 "2006-04-19T10:09:45Z")

</div>

> jaleman:  
> Sounds like you don’t have privileges to create that directory?

but i do have privileges.  
I even tried chmoding 0777 the jar installer end the xml files.

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [April 19, 2006, 1:53pm UTC](https://forum.servoy.com/t/x-install-on-a-remote-redhat/5768/7 "2006-04-19T13:53:13Z")

</div>

Strange. Try this, create a directory in /tmp, eg /tmp/servoy

then edit install.xml to install there.

---

<div class="post-metadata">

**Author:** ![AGhisalberti](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@AGhisalberti](https://forum.servoy.com/u/AGhisalberti)\
**Post date:** [April 24, 2006, 12:28pm UTC](https://forum.servoy.com/t/x-install-on-a-remote-redhat/5768/8 "2006-04-24T12:28:58Z")

</div>

ok,  
it came out (caugh…caugh…) java was not the sun distribution;  
it came out (caugh…caugh…) X11 was not enabled (in fact there were some libraries only);  
it came out (caugh…caugh…) the RedHat was not a RedHat either (in fact it’s a Centos 3.4);  
it came out… wait a moment! that’s enaugh, no? ![:oops:]( "Embarassed")

So, Servoy server now is fairly installed… and running!

Any moral? Sure, but i’m going to stay silent, here ![:roll:]( "Rolling Eyes")

Thanks
