Page 3 of 4

Re: java 1.7.0_25 continued

PostPosted: Mon Jul 01, 2013 5:50 pm
by Hans Nieuwenhuis
I see,

But now I have a problem.

Can I run java 6 and java 7 on the same windows pc/laptop and have servoy use java 6 ?

Regards,

Re: java 1.7.0_25 continued

PostPosted: Mon Jul 01, 2013 5:56 pm
by Jan Blok
yes, set max java version property to java 6 on admin page.

Re: java 1.7.0_25 continued

PostPosted: Mon Jul 01, 2013 6:29 pm
by Hans Nieuwenhuis
Thanks Jan,

But where can I find this setting , I do not see it on the admin page.
I see it in the servoy 7 admin page, but not on the servoy5 admin page.

My problem is with servoy 5 and java 6 and java 7

Regards,

Re: java 1.7.0_25 continued

PostPosted: Mon Jul 01, 2013 7:30 pm
by Jan Blok
hmm, seems only available in Servoy 6 onwards

Re: java 1.7.0_25 continued

PostPosted: Mon Jul 01, 2013 7:35 pm
by Hans Nieuwenhuis
So what is the best solution now when using a servoy 5 server
and clients having java6 and java7 installed ?

Regards,

Re: java 1.7.0_25 continued

PostPosted: Mon Jul 01, 2013 7:37 pm
by Jan Blok
No suggestions at this point in time, other then upgrade to Servoy 6

Re: java 1.7.0_25 continued

PostPosted: Mon Jul 01, 2013 8:05 pm
by lwjwillemsen
No suggestions at this point in time, other then upgrade to Servoy 6


My opinion : Bad follow up of Servoy on java updates for Servoy versions that are still supported...
In this light the knowledge of Servoy 5 not being supported on Java 7 is a great shock ! Isn't Java upward compatible ?

Re: java 1.7.0_25 continued

PostPosted: Mon Jul 01, 2013 8:07 pm
by Hans Nieuwenhuis
That is not a something I can do in a few weeks time.
Wel will upgrade to servoy 7 q4 this year.

But until then we need to run from the servoy5 server

This will not make our servoy users ( and management ) happy

Regards,

Hans

Re: java 1.7.0_25 continued

PostPosted: Mon Jul 01, 2013 8:08 pm
by Hans Nieuwenhuis
My opinion : Bad follow up of Servoy on java updates for Servoy versions that are still supported...
In this light the knowledge of Servoy 5 not being supported on Java 7 is a great shock ! Isn't Java upward compatible ?


+1

Re: java 1.7.0_25 continued

PostPosted: Wed Jul 17, 2013 5:33 pm
by jcompagner
oracle already seems to have fixed the classloader problem (for which i made a patch)

http://bugs.sun.com/view_bug.do?bug_id=8017776

so if they hopefully escalate it a bit so that the next release will have this fix, it should work fine again even without my patch

Re: java 1.7.0_25 continued

PostPosted: Mon Jul 22, 2013 9:08 am
by m.vanklink
Good to hear that they fixed this. Does this also mean that when Oracle releases this bugfix Servoy 5.2 will support Java 7 (again)? And if not why not.

Re: java 1.7.0_25 continued

PostPosted: Mon Jul 22, 2013 10:36 am
by jcompagner
this specific issue will be fixed then 5.2 will not be hold back because of this issue on java 7.
But there could be other issues that we don't know about. But if it did work fine before this issue then it should work again after this is fixed.

Re: java 1.7.0_25 continued

PostPosted: Thu Aug 01, 2013 10:57 pm
by lwjwillemsen
Quote from Oracle :

New JAR Manifest File Attributes

JDK 7u25 release introduces the permissions and codebase attributes in the JAR Manifest File. These attributes are used to verify that the application is requesting the correct permissions level and is accessed from the correct location. See Preventing the Repurposing of an Application document.

Developers are advised to utilize at least the new permissions attribute, and if possible the codebase attribute as well. In future releases, applications that do not include these protections may be blocked or subjected to additional warning dialogs.


Please a comment from Servoy how future smart client startup problems (if any for this matter) can be avoided...

Regards,

Re: java 1.7.0_25 continued

PostPosted: Fri Aug 02, 2013 9:54 am
by jcompagner
we already have added to all our core jars that stuff.
also there is a case: https://www.servoyforge.net/issues/728 that also makes the signtester do that for all the jars.
Stupid is that for us (servoy install) that whole thing is completely useless, doesn't gain any protection what so ever.

Re: java 1.7.0_25 continued

PostPosted: Tue Oct 07, 2014 8:15 am
by siavash.roozbehan
Hi all,

IS there anyone else having this problem on later versions of java? We are now getting the same problem on java 1.7 build 54. Can anyone confirm that they have absolutely no issue using it2be calendar bean in java versions later than 1.7 build 25 that the topic was about?