Java OS X problem NEW!

Questions, answers, tips and ideas on Servoy Client

Re: Java OS X problem NEW!

Postby ROCLASI » Thu Jan 31, 2013 1:01 pm

I wonder if we can download the older Java version. If you know a download link please share.
The thing is that Java 7 is only available for 64bit machines. I kinda doubt that it will install on older (not that old) Macs.
IF this is the case then this is a MAJOR issue for a bunch of Mac-based sites.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Java OS X problem NEW!

Postby mboegem » Thu Jan 31, 2013 1:07 pm

Some more information here.

After ignoring the apple java update that did remove the java webstart for a couple of weeks, I clicked update by accident 2 weeks ago.
This forced me to follow the apple fix for that, but I couldn't really make it work again.
I noticed that my java-preferences app was gone and restored that from my time-machine backup.

After ticking the 'Enable applet plug-in and Web Start applications' checkbox it all worked fine again.
But reading this post I noticed Johan's link wasn't working.
A quick look at the above checkbox learned it had been unticked again.

I remember installing another Mac update after that, but as stated above: that didn't involve any Java changes.

Anyway, I just ticked that checkbox again and everything works as before again...
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Java OS X problem NEW!

Postby david.pearce » Thu Jan 31, 2013 1:23 pm

Does anyone have a link. Most of the apple Java links have gone and only 37 is showing?!
david.pearce
 
Posts: 36
Joined: Thu Jan 31, 2013 11:21 am

Re: Java OS X problem NEW!

Postby tgs » Thu Jan 31, 2013 1:53 pm

On our customers Macs with OS X 10.7.5 I have both Java 1.6.0_35 and 1.6.0_37.

But always the same:
com.apple.JavaWebStart: Bad installation. No JRE found in configuration file: No such file or directory

I tried running Servoy on a Mac with OS X 10.7.5 and it seems that also Java 1.6.0_35 is not working!

But Servoy Smart-Client is working on my Mac with OS X 10.8.2 and Java 1.6.0_37!?

Only a couple of our customers can work with their Servoy solution today! The rest is not amused...

Regards
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 886
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Java OS X problem NEW!

Postby ROCLASI » Thu Jan 31, 2013 2:13 pm

Found a solution via the Apple forum.

Use the following command in the terminal:
Code: Select all
sudo /usr/libexec/PlistBuddy -c "Delete :JavaWebComponentVersionMinimum" /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist


This of course will be a temporary fix because this file is being managed by Apple. But at least it will get you going again.

Hope this helps.

Credits to the fine people of MoovIT:
http://moovit.de/index.php/TechBlog/Tec ... er-restart
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Java OS X problem NEW!

Postby ROCLASI » Thu Jan 31, 2013 2:27 pm

I guess this command requires that you have some developer tools (Xcode) installed so here is what it does:
The original file:

/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>JavaWebComponentVersionMinimum</key>
    <string>1.6.0_37-b06-435</string>
    <key>LastModification</key>
    <string>Thu, 31 Jan 2013 04:41:14 GMT</string>
    <key>PlugInBlacklist</key>
    <dict>
        <key>10</key>
        <dict>
            <key>com.macromedia.Flash Player.plugin</key>
            <dict>
                <key>MinimumPlugInBundleVersion</key>
                <string>11.3.300.271</string>
            </dict>
            <key>com.oracle.java.JavaAppletPlugin</key>
            <dict>
                <key>MinimumPlugInBundleVersion</key>
                <string>1.7.11.22</string>
            </dict>
        </dict>
    </dict>
    <key>Version</key>
    <integer>2028</integer>
</dict>
</plist>


The new file:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>LastModification</key>
    <string>Thu, 31 Jan 2013 04:41:14 GMT</string>
    <key>PlugInBlacklist</key>
    <dict>
        <key>10</key>
        <dict>
            <key>com.macromedia.Flash Player.plugin</key>
            <dict>
                <key>MinimumPlugInBundleVersion</key>
                <string>11.3.300.271</string>
            </dict>
            <key>com.oracle.java.JavaAppletPlugin</key>
            <dict>
                <key>MinimumPlugInBundleVersion</key>
                <string>1.7.11.22</string>
            </dict>
        </dict>
    </dict>
    <key>Version</key>
    <integer>2028</integer>
</dict>
</plist>


So it strips out this part:
Code: Select all
<key>JavaWebComponentVersionMinimum</key>
<string>1.6.0_37-b06-435</string>


Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Java OS X problem NEW!

Postby david.pearce » Thu Jan 31, 2013 2:37 pm

the command line worked for me!

Still mystified how apple can tamper with the OS without my knowledge!!!!!
david.pearce
 
Posts: 36
Joined: Thu Jan 31, 2013 11:21 am

Re: Java OS X problem NEW!

Postby LXS » Thu Jan 31, 2013 2:40 pm

The command line has also worked on a mac of my customer!
Thanks a lot!
Alexander Stefan
Dr. Maison & Partner GmbH
www.servoy-plugins.de
www.maison-partner.de
LXS
 
Posts: 151
Joined: Thu Mar 01, 2007 12:00 am

Re: Java OS X problem NEW!

Postby tgs » Thu Jan 31, 2013 2:42 pm

Thank you very much Robert!

It also works on our customers Macs.
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 886
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Java OS X problem NEW!

Postby IT2Be » Thu Jan 31, 2013 3:00 pm

For those of you that experience a crippled java installation or at least a continuing issue with jws (like I had) I finally solved it by doing the following (OS 10.8):

Recover Java Preferences app from Time Machine (or any other backup you have)
Install Java 1.7.
Manually install Java 1.6 from the .pkg file (or use an app like Pacifist) that you can download from the Apple website.

And voila, I can now run all my java versions again and jws works (for me miraculously) with Java 1.7 now.
Did not test with Servoy though but this is already much more than what I could use before :)
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 patrick » Thu Jan 31, 2013 3:01 pm

Works here, too.

If it is true what the Finalcut guys think what happend ("Apple seems to have patched java though the backdoor and that keeps FinalCutServer from launching the Webstart application"), it makes me think: isn't it a bit scary that you use a computer where the manufacturer simply disables stuff without your knowledge and agreement by some calling home or however this is done? Not sure I want that.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Java OS X problem NEW!

Postby ROCLASI » Thu Jan 31, 2013 3:04 pm

I understand that if you want a more permanent solution (for the time being) you can prevent the plist file to be updated by unchecking the following checkbox.
security&privacy_advanced.png
security&privacy_advanced.png (106.57 KiB) Viewed 6764 times

You go to System preferences > Security & Privacy > Advanced. Here you can uncheck the 'Automatically update safe downloads list'.
This should prevent the XProtect.meta.plist to be updated again.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Java OS X problem NEW!

Postby david.pearce » Thu Jan 31, 2013 3:11 pm

Thanks,

when was there last a safe download of java :lol:
david.pearce
 
Posts: 36
Joined: Thu Jan 31, 2013 11:21 am

Re: Java OS X problem NEW!

Postby hpmxxx » Thu Jan 31, 2013 4:05 pm

Thank you very much Robert! Our Mac users are back in "production".
Hans-Peter Minnig
Nextree GmbH
hpmxxx
 
Posts: 86
Joined: Wed Sep 10, 2003 5:50 pm
Location: Switzerland

Re: Java OS X problem NEW!

Postby ROCLASI » Thu Jan 31, 2013 4:20 pm

Hi Patrick,

patrick wrote:If it is true what the Finalcut guys think what happend ("Apple seems to have patched java though the backdoor and that keeps FinalCutServer from launching the Webstart application"), it makes me think: isn't it a bit scary that you use a computer where the manufacturer simply disables stuff without your knowledge and agreement by some calling home or however this is done? Not sure I want that.


Mac OS X is indeed calling home. XProtect automatically updates it's definitions and with last nights update it told the OS that minimum version of Java has to be 1.6.0_37-b06-435. So I guess there is a Java update coming since at this time the current version is 1.6.0_37-b06-434.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

PreviousNext

Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 7 guests

cron