Java OS X problem NEW!

Questions, answers, tips and ideas on Servoy Client

Re: Java OS X problem NEW!

Postby lewis » Sat Feb 02, 2013 4:08 pm

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
lewis
 
Posts: 17
Joined: Thu Jan 03, 2013 3:44 pm

Re: Java OS X problem NEW!

Postby Harjo » Sun Feb 03, 2013 2:17 am

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)
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4307
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Java OS X problem NEW!

Postby tgs » Sun Feb 03, 2013 11:27 am

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
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 883
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Java OS X problem NEW!

Postby Adelo Herrero » Sun Feb 03, 2013 5:12 pm

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.
Adelo Herrero
Adelo Herrero
 
Posts: 103
Joined: Sat Jul 25, 2009 9:24 pm
Location: Requena (Valencia) España

Re: Java OS X problem NEW!

Postby rioba » Mon Feb 04, 2013 10:06 am

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?
rioba
 
Posts: 242
Joined: Mon Aug 08, 2005 4:26 pm

Re: Java OS X problem NEW!

Postby IT2Be » Mon Feb 04, 2013 10:21 am

As far as I can see Servoy developer runs Java 6 (don't know why that is).
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Java OS X problem NEW!

Postby tgs » Mon Feb 04, 2013 11:00 am

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
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 883
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Java OS X problem NEW!

Postby IT2Be » Mon Feb 04, 2013 11:12 am

A few posts higher I explained what helped me to solve the issue.
Hope this helps you too!
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Java OS X problem NEW!

Postby jcompagner » Mon Feb 04, 2013 11:57 am

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
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8302
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Java OS X problem NEW!

Postby tgs » Mon Feb 04, 2013 12:28 pm

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:
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 883
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Java OS X problem NEW!

Postby rioba » Mon Feb 04, 2013 12:42 pm

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
rioba
 
Posts: 242
Joined: Mon Aug 08, 2005 4:26 pm

Re: Java OS X problem NEW!

Postby lewis » Mon Feb 04, 2013 3:14 pm


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
lewis
 
Posts: 17
Joined: Thu Jan 03, 2013 3:44 pm

Re: Java OS X problem NEW!

Postby lewis » Mon Feb 04, 2013 6:20 pm

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
lewis
 
Posts: 17
Joined: Thu Jan 03, 2013 3:44 pm

Re: Java OS X problem NEW!

Postby swingman » Mon Feb 04, 2013 7:24 pm

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.
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1318
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Java OS X problem NEW!

Postby lewis » Mon Feb 04, 2013 7:48 pm

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
lewis
 
Posts: 17
Joined: Thu Jan 03, 2013 3:44 pm

PreviousNext

Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 1 guest