Page 4 of 8

Re: Java OS X problem NEW!

PostPosted: Sat Feb 02, 2013 4:08 pm
by lewis
Thanks for the feedback

I have now run an update on my machine to the XProtect file and it seems to have cured the problem at my end at least

Now to try to explain what to do to the clients who have the problems ! :-)

That will be fun

Cheers

Re: Java OS X problem NEW!

PostPosted: Sun Feb 03, 2013 2:17 am
by Harjo
lewis wrote:Can I ask for some guidance from anyone, if possible, in relation to this Apple / Java issue, please

I now have a couple of sites using OS X who have several of their users not able to access the solution because it will not launch the Servoy app

There is a lot of information on this thread and I am confused as to which path is the best to take here

Could someone distil the best option to resolve this issue please

Apologies for throwing myself on your mercy :-)

Thanks


if you want to stay at Java 6, this is what you need to do:

viewtopic.php?f=6&t=19299&start=15#p103801
and after that this:
viewtopic.php?f=6&t=19299&start=15#p103810

If you want to run Java 7, you can update to the latest Oracle Java 7 version, but there are still some issues in combination with Servoy, like opening comboboxes with the mouse does not work (only when you give it focus with the mouse and hit the space-bar) and the browser-suite bean does not work with it (yet)

Re: Java OS X problem NEW!

PostPosted: Sun Feb 03, 2013 11:27 am
by tgs
Hi all experts,

I could fix the problem on the Macs with Robert's instruction except two Macs running Mac OS X 10.7.5.

The customers have installed Java 7 because of the error dialog for a missing JRE. But their solution is running on Servoy 5 and not ready for Java 7!

To solve that I uninstalled Java 7, checked out the XProtect.meta.plist file because I got the java -version info 1.6.0_37, but always the JRE error dialog.
Next I uninstalled also Java 6 and reinstalled Java für OS X 2012-006. The XProtect.meta.plist looks as it should and the system preferences setting in Security & Privacy is unchecked, but no success.
I always get the JRE error dialog while doubleclicking the .jnlp file and/or by executing javaws pathtothe.jnlp in the Terminal.

Do I missing something on this last two Macs?

Regards

Re: Java OS X problem NEW!

PostPosted: Sun Feb 03, 2013 5:12 pm
by Adelo Herrero
Hi all:

I have the same problem with OS X 10.8.2.

EDIT: ¿SOLVED?
Following the indications of http://support.apple.com/kb/HT5559??, now, my system works fine.

Hope this helps.
Regards.

Re: Java OS X problem NEW!

PostPosted: Mon Feb 04, 2013 10:06 am
by rioba
There is something I don't understand about Java 7 on the Mac. It seems that some people can run Servoy using Java 7 (although with some limitations). I tried to do so in one newly configured Mac with MacOS X 10.8.2 and the latest Java 7 update, but when I try to start Servoy Developer this is the message I always get
To open “servoy.app,” you need a Java SE 6 runtime. Would you like to install one now?
What am I doing wrong?

Re: Java OS X problem NEW!

PostPosted: Mon Feb 04, 2013 10:21 am
by IT2Be
As far as I can see Servoy developer runs Java 6 (don't know why that is).

Re: Java OS X problem NEW!

PostPosted: Mon Feb 04, 2013 11:00 am
by tgs
tgs wrote:Hi all experts,

I could fix the problem on the Macs with Robert's instruction except two Macs running Mac OS X 10.7.5.

The customers have installed Java 7 because of the error dialog for a missing JRE. But their solution is running on Servoy 5 and not ready for Java 7!

To solve that I uninstalled Java 7, checked out the XProtect.meta.plist file because I got the java -version info 1.6.0_37, but always the JRE error dialog.
Next I uninstalled also Java 6 and reinstalled Java für OS X 2012-006. The XProtect.meta.plist looks as it should and the system preferences setting in Security & Privacy is unchecked, but no success.
I always get the JRE error dialog while doubleclicking the .jnlp file and/or by executing javaws pathtothe.jnlp in the Terminal.

Do I missing something on this last two Macs?

Regards


Does anybody have a hint for me to solve that problem? Because also Apples "How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality" instruction won't fix it.

Thank you

Re: Java OS X problem NEW!

PostPosted: Mon Feb 04, 2013 11:12 am
by IT2Be
A few posts higher I explained what helped me to solve the issue.
Hope this helps you too!

Re: Java OS X problem NEW!

PostPosted: Mon Feb 04, 2013 11:57 am
by jcompagner
rioba wrote:There is something I don't understand about Java 7 on the Mac. It seems that some people can run Servoy using Java 7 (although with some limitations). I tried to do so in one newly configured Mac with MacOS X 10.8.2 and the latest Java 7 update, but when I try to start Servoy Developer this is the message I always get
To open “servoy.app,” you need a Java SE 6 runtime. Would you like to install one now?
What am I doing wrong?


what happens if you also reinstall with java 7 on your system.
So if you only have java 7 on your system, then install servoy first with that vm also

Re: Java OS X problem NEW!

PostPosted: Mon Feb 04, 2013 12:28 pm
by tgs
IT2Be wrote:A few posts higher I explained what helped me to solve the issue.
Hope this helps you too!

Hi Marcel,

I have tried it like your explanation, but no success!

If I install Java 7 and than manually the Java for OS X 2012-006 .pkg on the Mac OS X 10.7.5 machine I get the version info 1.6.0_37 by executing java -version in the Terminal.
The Servoy Smart Client will now always open with Java 7, but it is Servoy 5!!
That is curious, because on my iMac OS X 10.8.2 with a Java 7 + 6 installation the Servoy Dev. + SC always opens with Java 6 and the java -version info is 1.7.0_13!??
If I uninstall Java 7 I get back the error of no JRE.

I don't understand this :roll: and it makes me frustrated :twisted:

Re: Java OS X problem NEW!

PostPosted: Mon Feb 04, 2013 12:42 pm
by rioba
jcompagner wrote:what happens if you also reinstall with java 7 on your system.
So if you only have java 7 on your system, then install servoy first with that vm also

Reinstalled Servoy Developer with only Java 7 active, but I still get the same message requesting Java 6

Re: Java OS X problem NEW!

PostPosted: Mon Feb 04, 2013 3:14 pm
by lewis

I could fix the problem on the Macs with Robert's instruction except two Macs running Mac OS X 10.7.5.



Also have a problem with a Mac running 10.7.5
Amends have been made to XProtect file but the following entry in there remains
Code: Select all
<key>com.oracle.java.JavaAppletPlugin</key>
<dict>
<key>MinimumPlugInBundleVersion</key>
<string>1.7.11.22</string>


Whilst the Java version on the machine is : 1.7.0_13

Is this what is still causing problems on that particular iMac ???

If so, how can I solve this one ???

Cheers

Re: Java OS X problem NEW!

PostPosted: Mon Feb 04, 2013 6:20 pm
by lewis
Harjo wrote:
lewis wrote:Can I ask for some guidance from anyone, if possible, in relation to this Apple / Java issue, please

I now have a couple of sites using OS X who have several of their users not able to access the solution because it will not launch the Servoy app

There is a lot of information on this thread and I am confused as to which path is the best to take here

Could someone distil the best option to resolve this issue please

Apologies for throwing myself on your mercy :-)

Thanks


if you want to stay at Java 6, this is what you need to do:

viewtopic.php?f=6&t=19299&start=15#p103801
and after that this:
viewtopic.php?f=6&t=19299&start=15#p103810

If you want to run Java 7, you can update to the latest Oracle Java 7 version, but there are still some issues in combination with Servoy, like opening comboboxes with the mouse does not work (only when you give it focus with the mouse and hit the space-bar) and the browser-suite bean does not work with it (yet)


Thanks for the feedback

I did put a later post saying that I did this and it seemed to work EXCEPT on an iMac that is running OS X 10.7.5 and Java 7
This opens the Servoy application when you go through the browser and download a smart client but then tells me that the 'dataservice could not be found' and will not save the application either

Any pointers please ?

Cheers

Re: Java OS X problem NEW!

PostPosted: Mon Feb 04, 2013 7:24 pm
by swingman
lewis wrote: 'dataservice could not be found'


on Java 7? Go to the Java Control Panel network settings and use 'direct connection', or, you can try 'http&socket' in the network settings on the Servoy server on the server side.

Re: Java OS X problem NEW!

PostPosted: Mon Feb 04, 2013 7:48 pm
by lewis
swingman wrote:
lewis wrote: 'dataservice could not be found'


on Java 7? Go to the Java Control Panel network settings and use 'direct connection', or, you can try 'http&socket' in the network settings on the Servoy server on the server side.


Yep, Java 7
Actually tried changing the Java network to 'direct connection' and the solution opened but I got errors on look and feel (colours on buttons washed out) and also got errors when trying to load forms ( cannot setup form ) !!!
So not sure what combination of factors is causing these issues
To be clear:
Servoy Server = v4.1.7
Servoy Client = OSX 10.7.5
Servoy Client Java = 1.7.0_13

Cheers