# Smart Client Startup with Java 1.8.0.241

**URL:** <https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161>\
**Category:** Questions\
**Created:** [January 15, 2020, 9:42am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161 "2020-01-15T09:42:02Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![briese-it](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@briese-it](https://forum.servoy.com/u/briese-it)\
**Post date:** [January 15, 2020, 9:42am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/1 "2020-01-15T09:42:02Z")

</div>

I updated the Java Runtime on a client to version 1.8.0.241 (Windows 10 x64) and now I can not start the SmartClient. The solution begins to start and after logging in to my solution I get the error “Cannot load solution” and have to close the window.

I have the following error in the Java console log:

```auto
SCHWERWIEGEND: Method is not Remote: interface com.servoy.j2db.persistence.IRepository::public abstract java.util.List com.servoy.j2db.persistence.IRepository.getActiveSolutionModuleMetaDatas(int) throws java.rmi.RemoteException,com.servoy.j2db.persistence.RepositoryException
java.rmi.RemoteException: Method is not Remote: interface com.servoy.j2db.persistence.IRepository::public abstract java.util.List com.servoy.j2db.persistence.IRepository.getActiveSolutionModuleMetaDatas(int) throws java.rmi.RemoteException,com.servoy.j2db.persistence.RepositoryException
	at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
	at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
	at com.sun.proxy.$Proxy15.getActiveSolutionModuleMetaDatas(Unknown Source)
	at com.servoy.j2db.ClientRepository.getActiveSolutionModuleMetaDatas(ClientRepository.java:165)
	at com.servoy.j2db.FlattenedSolution.setSolution(FlattenedSolution.java:650)
	at com.servoy.j2db.ClientState.loadSolutionsAndModules(ClientState.java:1456)
	at com.servoy.j2db.smart.J2DBClient.loadSolutionsAndModules(J2DBClient.java:2030)
	at com.servoy.j2db.smart.J2DBClient$16.run(J2DBClient.java:1978)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

```

Any ideas?

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 15, 2020, 9:46am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/2 "2020-01-15T09:46:25Z")

</div>

this is a known problem already: [https://support.servoy.com/browse/SVY-14561](https://support.servoy.com/browse/SVY-14561)

i am looking in to it, but they broke something in Java that somehow that method is not seen as a remote method (which it really is)

---

<div class="post-metadata">

**Author:** ![briese-it](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@briese-it](https://forum.servoy.com/u/briese-it)\
**Post date:** [January 15, 2020, 9:53am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/3 "2020-01-15T09:53:33Z")

</div>

Thanks for your quick reply Johan. Hope this can be fixed soon ![:-)]( "Smile")

---

<div class="post-metadata">

**Author:** ![Bernd.N](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@Bernd.N](https://forum.servoy.com/u/Bernd.N)\
**Post date:** [January 15, 2020, 10:22am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/4 "2020-01-15T10:22:03Z")

</div>

Same problem for our customer who runs Servoy 7.4 smart client.

I just found a weblink that explains how to start a different Java version for a specific app:  
[https://gatkforums.broadinstitute.org/gatk/discussion/6841/i-need-to-run-programs-that-require-different-versions-of-java](https://gatkforums.broadinstitute.org/gatk/discussion/6841/i-need-to-run-programs-that-require-different-versions-of-java)

Would that be possible to do also for a Servoy 7.4 smart client, to tell him to use an older Java version?  
That way, users could update Java to the latest version and run Java 8u231 (issued Oct. 2019) still for the Servoy app.

Sure, it should be a fix that can be done easily without rocket science, as all users would have to do it.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 15, 2020, 10:46am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/5 "2020-01-15T10:46:04Z")

</div>

the above link is really specific to a linux system thing.  
We use webstart so jnlp with that you can set a fix java version:

[https://docs.oracle.com/javase/7/docs/t … #resources](https://docs.oracle.com/javase/7/docs/technotes/guides/javaws/developersguide/syntax.html#resources)

This can’t be controlled by the default jnlp we generate because we only have the option to select a full major java version with:

servoy.smartclient.min\_java\_version:  
servoy.smartclient.max\_java\_version:

but if you use the bootstrapper: [https://wiki.servoy.com/pages/viewpage. … d=23856169](https://wiki.servoy.com/pages/viewpage.action?pageId=23856169)

you can do this. so add a j2se tag like:

---

<div class="post-metadata">

**Author:** ![Bernd.N](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@Bernd.N](https://forum.servoy.com/u/Bernd.N)\
**Post date:** [January 15, 2020, 11:28am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/6 "2020-01-15T11:28:34Z")

</div>

Thank you, that is an interesting solution.

---

<div class="post-metadata">

**Author:** ![LXS](https://avatars.discourse-cdn.com/v4/letter/l/ecb155/32.png) [@LXS](https://forum.servoy.com/u/LXS)\
**Post date:** [January 15, 2020, 11:35am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/7 "2020-01-15T11:35:04Z")

</div>

Same issue with Servoy 7.4 here…  
Sounds like a customer mailing with a warning to not install Java 8 Update 241.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 15, 2020, 11:41am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/8 "2020-01-15T11:41:47Z")

</div>

i have it reproduced in a small example (and i know what todo to fix it)  
but this is not a really small change and i need to look if we do that same structure on more places…

i will also create a bug report for oracle, because it seems to me they broke something that should just work.

---

<div class="post-metadata">

**Author:** ![briese-it](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@briese-it](https://forum.servoy.com/u/briese-it)\
**Post date:** [January 15, 2020, 1:15pm UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/9 "2020-01-15T13:15:32Z")

</div>

Well noted, thank you

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [January 15, 2020, 2:55pm UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/10 "2020-01-15T14:55:56Z")

</div>

we have the same problem with Servoy 7.4.x smartclient solutions.  
It shows the login solution, but after login we get the error: Solution kan niet geladen worden: DirectManager

```auto
SEVERE: Throwable
java.rmi.RemoteException: Method is not Remote: interface com.servoy.j2db.persistence.IRepository::public abstract java.util.List com.servoy.j2db.persistence.IRepository.getActiveSolutionModuleMetaDatas(int) throws java.rmi.RemoteException,com.servoy.j2db.persistence.RepositoryException
         at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:232)
         at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:180)
         at com.sun.proxy.$Proxy18.getActiveSolutionModuleMetaDatas(Unknown Source)
         at com.servoy.j2db.ClientRepository.getActiveSolutionModuleMetaDatas(ClientRepository.java:165)
         at com.servoy.j2db.FlattenedSolution.setSolution(FlattenedSolution.java:599)
         at com.servoy.j2db.ClientState.loadSolutionsAndModules(ClientState.java:1438)
         at com.servoy.j2db.smart.J2DBClient.loadSolutionsAndModules(J2DBClient.java:1999)
         at com.servoy.j2db.smart.J2DBClient$16.run(J2DBClient.java:1948)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
         at java.awt.EventQueue.access$500(EventQueue.java:97)
         at java.awt.EventQueue$3.run(EventQueue.java:709)
         at java.awt.EventQueue$3.run(EventQueue.java:703)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
 
Jan 15, 2020 3:46:08 PM com.servoy.j2db.util.Debug error
SEVERE: Solution kan niet geladen worden DirectManager
java.rmi.RemoteException: Method is not Remote: interface com.servoy.j2db.persistence.IRepository::public abstract java.util.List com.servoy.j2db.persistence.IRepository.getActiveSolutionModuleMetaDatas(int) throws java.rmi.RemoteException,com.servoy.j2db.persistence.RepositoryException
         at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:232)
         at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:180)
         at com.sun.proxy.$Proxy18.getActiveSolutionModuleMetaDatas(Unknown Source)
         at com.servoy.j2db.ClientRepository.getActiveSolutionModuleMetaDatas(ClientRepository.java:165)
         at com.servoy.j2db.FlattenedSolution.setSolution(FlattenedSolution.java:599)
         at com.servoy.j2db.ClientState.loadSolutionsAndModules(ClientState.java:1438)
         at com.servoy.j2db.smart.J2DBClient.loadSolutionsAndModules(J2DBClient.java:1999)
         at com.servoy.j2db.smart.J2DBClient$16.run(J2DBClient.java:1948)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
         at java.awt.EventQueue.access$500(EventQueue.java:97)
         at java.awt.EventQueue$3.run(EventQueue.java:709)
         at java.awt.EventQueue$3.run(EventQueue.java:703)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

```

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [January 16, 2020, 10:53am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/11 "2020-01-16T10:53:40Z")

</div>

I understand there is a fix for the latest Servoy version 2019.12, but is it also clear, if this can be (or will be ![:?]( "Confused") ) fixed for Servoy 7.4.11?

Yes we are in the process of upgrading to the latest version, but we cannot go live in short notice.

---

<div class="post-metadata">

**Author:** ![chaitanyas](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@chaitanyas](https://forum.servoy.com/u/chaitanyas)\
**Post date:** [January 16, 2020, 12:07pm UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/12 "2020-01-16T12:07:44Z")

</div>

Hi Everyone,

We are also facing the same issue with Java 8u241 and we are not sure what’s next step to fix this issue ?, do you think, using Open Webstart ([https://openwebstart.com/](https://openwebstart.com/) ) is the alternative solution for this ? and if so, is there any other implications of using OpenWebstart to run the smart client ?

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 16, 2020, 12:36pm UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/13 "2020-01-16T12:36:46Z")

</div>

this has nothing todo this time with webstart.  
But it has something todo with RMI (so how smart client talks/communicates to the server)

besides that i don’t think stuff like openwebstart of icedteaweb will work just like that… That will only work if they expose the same classes to the system as java webstart does (seems unlikely, not 100% sure) if they don’t then that just means that servoy needs to be adjusted for that to be able to load and run the smartclient. So this could potentially only work for a coming release of servoy but there are no plans to look into this.

We have the bootstrapper to work around most webstart problems, and that can even run in a full stand alone mode (without webstart) but you need Servoy 8.3.3 or higher for that.

i am trying currently to make a 74 patch but can’t promise anything, because of all the old stuff that we need to support this that is already cleaned up. Our build server doesn’t built 7.4 anymore (for almost a year)  
People really need to move forward.

---

<div class="post-metadata">

**Author:** ![lwjwillemsen](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lwjwillemsen/32/4987_2.png) [@lwjwillemsen](https://forum.servoy.com/u/lwjwillemsen)\
**Post date:** [January 18, 2020, 12:02pm UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/14 "2020-01-18T12:02:34Z")

</div>

Hi Johan,

> i will also create a bug report for oracle, because it seems to me they broke something that should just work.

Do you have a Oracle case id so I can follow the developments on Oracle side?

Thanks and regards,

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 20, 2020, 8:27am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/15 "2020-01-20T08:27:55Z")

</div>

no that is just internal id, its not public, i can’t even see that one anymore.  
But don’t have your hopes up, this will very likely not be fixed by them, at least i am not going to assume that.  
\_  
We will be making releases of 2019.12.1 and 2019.03.2\_LTS for this.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 20, 2020, 11:23am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/16 "2020-01-20T11:23:32Z")

</div>

i uploaded here:

[http://download.servoy.com/downloads/misc/j2dbdev.jar](http://download.servoy.com/downloads/misc/j2dbdev.jar)  
[http://download.servoy.com/downloads/misc/j2db.jar](http://download.servoy.com/downloads/misc/j2db.jar)

2 jars of servoy 7.4.10/11 that should fix the problem for Servoy 7.4  
You do need to resign it your self, because these are signed with another certificate then the original 7.4 files.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 21, 2020, 8:13am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/17 "2020-01-21T08:13:44Z")

</div>

i uploaded yesterday evening an update to those 2 jars for 1 more fix.

---

<div class="post-metadata">

**Author:** ![lwjwillemsen](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lwjwillemsen/32/4987_2.png) [@lwjwillemsen](https://forum.servoy.com/u/lwjwillemsen)\
**Post date:** [January 21, 2020, 9:27am UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/18 "2020-01-21T09:27:15Z")

</div>

Thanks Johan,

We tested and see no error message any more.

Regards,

---

<div class="post-metadata">

**Author:** ![LXS](https://avatars.discourse-cdn.com/v4/letter/l/ecb155/32.png) [@LXS](https://forum.servoy.com/u/LXS)\
**Post date:** [January 21, 2020, 12:21pm UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/19 "2020-01-21T12:21:37Z")

</div>

Hi Johan,

thank you very much for your work and your fix for Servoy 7.4!  
The first tests run successfully.

---

<div class="post-metadata">

**Author:** ![lwjwillemsen](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lwjwillemsen/32/4987_2.png) [@lwjwillemsen](https://forum.servoy.com/u/lwjwillemsen)\
**Post date:** [January 22, 2020, 7:56pm UTC](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161/20 "2020-01-22T19:56:21Z")

</div>

After applying the patch jars my Servoy version changed from **7.4.11** to **7.4.10**! ![:roll:]( "Rolling Eyes")  
Should I worry ? Can that be fixed?

We use some fixes that were made in 7.4.11!

[Next page](https://forum.servoy.com/t/smart-client-startup-with-java-1-8-0-241/20161.md?page=2)
