# Developer and Windows Vista

**URL:** <https://forum.servoy.com/t/developer-and-windows-vista/7519>\
**Category:** Classic Servoy\
**Created:** [May 17, 2007, 10:52am UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519 "2007-05-17T10:52:30Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjekl](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@mjekl](https://forum.servoy.com/u/mjekl)\
**Post date:** [May 17, 2007, 10:52am UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/1 "2007-05-17T10:52:30Z")

</div>

Hi,

Can’t start developer on windows Vista

Here’s the traceback:

```auto
~
C:\Programas\servoy>servoy_developer
Exception in thread "main" java.lang.NoClassDefFoundError: com/ser
ication
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Sou
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Meth
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Sou
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Meth
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.servoy.j2db.startup.Bootstrap.main(Unknown Source)
        at Servoy.main(Unknown Source)

```

Servoy is the latest install and JRE is 1.6.0\_01  
The windows Firewall is off and I have no idea what to do next.

Best,  
Miguel

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [May 17, 2007, 11:03am UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/2 "2007-05-17T11:03:12Z")

</div>

That works for me. Unfortunately we cannot really see which class is missing because the text is cut off. Could you post the whole error?

---

<div class="post-metadata">

**Author:** ![mjekl](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@mjekl](https://forum.servoy.com/u/mjekl)\
**Post date:** [May 17, 2007, 11:08am UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/3 "2007-05-17T11:08:27Z")

</div>

Sorry Patrick,

Here’s the entire traceback:

```auto
Exception in thread "main" java.lang.NoClassDefFoundError: com/servoy/j2db/IApplication
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.servoy.j2db.startup.Bootstrap.main(Unknown Source)
        at Servoy.main(Unknown Source)

```

Txs,  
Miguel

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [May 17, 2007, 11:37am UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/4 "2007-05-17T11:37:42Z")

</div>

Vista has pretty strict rights. Maybe something cannot be accessed because of a lack of rights. Could you try the same when the Servoy directory is on the Desktop?

---

<div class="post-metadata">

**Author:** ![mjekl](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@mjekl](https://forum.servoy.com/u/mjekl)\
**Post date:** [May 17, 2007, 12:12pm UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/5 "2007-05-17T12:12:22Z")

</div>

Nope. Copying the servoy folder to the desktop is not working.  
I’m pretty sure there’s a way to do it but I really no nothing about Vista.

In case we find a solution we’ll be sure to post it here, though.

Miguel

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [May 17, 2007, 12:15pm UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/6 "2007-05-17T12:15:06Z")

</div>

Could you try to start the servoy\_developer.bat instead of servoy\_developer.jar and see how that goes?

---

<div class="post-metadata">

**Author:** ![mjekl](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@mjekl](https://forum.servoy.com/u/mjekl)\
**Post date:** [May 17, 2007, 12:25pm UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/7 "2007-05-17T12:25:19Z")

</div>

Upps!

Sorry but I messed up ![:oops:]( "Embarassed")  
We had a first failed install and somehow that messed everything.  
After deleting the entire servoy directory and reinstalling everything worked just perfect.  
Like Servoy has made us used to ![;-)]( "Wink")

Txs for the time and help.  
Miguel

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [May 17, 2007, 12:28pm UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/8 "2007-05-17T12:28:29Z")

</div>

I have “discovered” that as a regular Vista user you cannot install Servoy into the applications directory right, because the installer they use does not get the rights needed to create the .bat file there (I think it was this one). If on Vista, you should install Servoy on the desktop and then manually move the folder later to the applications directory.

---

<div class="post-metadata">

**Author:** ![Ron](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@Ron](https://forum.servoy.com/u/Ron)\
**Post date:** [September 23, 2007, 12:53pm UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/9 "2007-09-23T12:53:29Z")

</div>

I’m having a hard time installing Servoy 3.5.1 in Vista.  
This goes only for installation to the application folder.  
Developer works OK if installed to the Desktop.  
I tried to move the Servoy folder from the Desktop to the Program  
Files, rebooted Vista and started Developer (from the Jar-file),  
but this gives a connection error:

Can’t connect to the repository server specified in the application preferences.  
org.apache.commons.dbcp.DbcpExeption:  
java.sql.SQLExeception: JZ006: Caught IOExeption:  
java.net.ConnectExeption: Connection refused: connect

Any help will be appreciated.

Ron

---

<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:** [September 23, 2007, 5:07pm UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/10 "2007-09-23T17:07:13Z")

</div>

Ron, have you checked both the servoy.properties and sybase\_db/sybase.config files if anything (concerning filepaths) is hardcoded in there?

---

<div class="post-metadata">

**Author:** ![Ron](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@Ron](https://forum.servoy.com/u/Ron)\
**Post date:** [September 23, 2007, 6:37pm UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/11 "2007-09-23T18:37:15Z")

</div>

Thanks for the tip Marcel.  
I scanned the files: no path’s found.  
Te be honest I am running out of options.  
This means there is no way I can get Servoy running from the app.folder.

---

<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:** [September 23, 2007, 8:02pm UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/12 "2007-09-23T20:02:28Z")

</div>

Question: (apart from the fact that it should be possible to replace the folder) why did you install in your desktop folder?

And, now that I think of it, Vista is very strict in user rights. Could that be the issue?

---

<div class="post-metadata">

**Author:** ![Ron](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@Ron](https://forum.servoy.com/u/Ron)\
**Post date:** [September 24, 2007, 6:44am UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/13 "2007-09-24T06:44:10Z")

</div>

Yep, that was it!  
Thanks a lot for the suggestion.  
First fiddled a bit with security/compatibility settings, but that did’nt work out.  
Finally I switched UAC (User Account Control) OFF and that did the trick.

Regards,  
Ron

* * *

Vista Home Premium ‘SP\_0’  
Servoy 3.5.1  
Java 1.6.0

---

<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:** [September 24, 2007, 7:44am UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/14 "2007-09-24T07:44:11Z")

</div>

Nice!

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [September 24, 2007, 9:58am UTC](https://forum.servoy.com/t/developer-and-windows-vista/7519/15 "2007-09-24T09:58:03Z")

</div>

> Ron:  
> Finally I switched UAC (User Account Control) OFF and that did the trick.

I guess you just came to a sad realisation ![;)]( "Wink")
