# Java not starting on Cento5

**URL:** <https://forum.servoy.com/t/java-not-starting-on-cento5/9125>\
**Category:** Classic Servoy\
**Created:** [May 26, 2008, 2:06pm UTC](https://forum.servoy.com/t/java-not-starting-on-cento5/9125 "2008-05-26T14:06:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detox](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@Detox](https://forum.servoy.com/u/Detox)\
**Post date:** [May 26, 2008, 2:06pm UTC](https://forum.servoy.com/t/java-not-starting-on-cento5/9125/1 "2008-05-26T14:06:08Z")

</div>

Have Servoy 3.35 running splendidly on my Cento5 server, but here is the glitch.

First, I installed java1.6 and adjusted with alternatives - java to set as primary.  
server\_developer starts asdn runs fine.  
servoy\_server, on hte other hand , java dows not start. I have to use ./servoy\_server.sh &,  
then , ./servoy\_server . sh command again for the java to begin.  
Cannot figure out why. Have looked at the sh file and is same as on my debian pc.  
Any idea why I have to run command a second time to get java up?

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [May 26, 2008, 2:59pm UTC](https://forum.servoy.com/t/java-not-starting-on-cento5/9125/2 "2008-05-26T14:59:18Z")

</div>

Are you sure the shell script is using the correct classpath and using the correct path for java?
