Java7 applet fails to load on Mountain lion & Lion - osx-server

I have developed sample cocoa (64 bit) webview application with all plug In settings enabled (setJavaEnabled:YES setPlugInsEnable:YES). But the Java applet plugin has been failed to load. I am using latest Java 7 from Oracle (update 25). I dont know the reason why plugin is fails in my sample always. Every thing works fine with Safari and Firefox.
The issue I am facing with both Lion and Mountain Lion (10.7.5 and 10.8.4)
Note: Test java applet url (http://www.java.com/en/download/testjava.jsp) to check the Java version also fails in my sample application.
Any help would be appreciated.

Related

how to migrate the source code(downgrade) of ios from mac 10.7 to mac 10.6.8

I am new to ios developement.
I have two mac books. one mac os is 10.6.8 with xcode version 4.2 and another mac os is 10.7 with xcode version 4.3.3.
The source code is in 10.7 mac version. it is running and working fine . I want to migrate the source code which is in 10.7 to 10.6 mac version.
I have copy the source code from working machine (i.e 10.7) and open that source code in xcode 4.3.3(i.e in mac osx 10.6.8)
Lots of errors are coming like sematic issues instace method not found return type defaults to id
for pseduo code, [self addApplicationObservers]; ..instance method -addApplicationObservers not found(return type defaulst to id)
Implementation is provided for addApplicationObservers. But declaration is missing in h or m file. But it works in mac osx 10.7 with xcode 4.3.3
If i provide the declarations for each one, its very tough job.Because i have so many classes.
What is the reason for those errors?
Is there any perquisites to downgrade the source code from mac osx 10.7 to 10.6.8 and please tell the required sdk's
Please provide me a solutions to run the code without errors
thank you
Chaitanya
If your program is building for iOS, the only things that matter are what compiler you're using and which iOS SDK you're using. It sounds as though your 10.6.8 machine has an older SDK installed in its version of iOS.
Can you verify that both machines have the same iOS SDKs installed?

The device version (2.1.0.1753) does not support the API level (Blackberry Native SDK 10.2)

I have blackberry playbook with OS. Version 2.1.0.1753 i have connected with WIFI. Now when i run project it will start executing project into my playbook
but every time i got below error
Then i click on update the project's API level
Then i click ok button i got below dialog box
I do not know what should i have to do, Do i need to install all API for example
10.1, 10.0
I don't know if you have already found the solution for your problem but personally I'm using a different Blackberry NDK for Playbook development: Link to Playbook NDK
As far as i've been told the playbook os is pretty different from the blackberry z10/q10.
Playbook is 2.x and z10 is 10.0/.1/.2
Momentics is only suitable for 10.1
For publishing to playbook youll need the playbok "tablet" sdk
https://developer.blackberry.com/playbook/native/download/
Also i've been told NOT to install both sdks on the same machine. as """because weirdness happens when you have both tablet and bb10 sdks installed. it's nominally "not a bug", but merely "unsupported". """

Error while importing BlackBerry project in Eclipse - BlackBerry JRE 4.7.0[unbound]

I am new in BlackBerry application development. I have installed "BlackBerry Plug-ins for Eclipse version 7.1" successfully. Now I am trying to import one existing project into Eclipse, it is showing the following error:
Build path entry is missing: org.eclipse.jdt.lau...de.BlackBerryVMInstallType/BlackBerry JRE 4.7.0
what is the reason for this?
If you have only installed the OS 7.1 plugin, then you won't be able to target OS 4.7.
You'll need to also install the SDK for OS 4.7. To do that, in Eclipse, go to the Help menu, then Install New Software..., then select the Work With: pull-down menu, and pick the BlackBerry Eclipse Plugin site.
Then, in the center of the window, you'll select the SDKs (OS Versions) you want to directly target:
As you see, I'm using the Mac Eclipse Plugin, and it doesn't even show OS 4.7 ... I can't remember if the Windows versions still supports 4.7 (I think it might offer a 4.5 plugin). Basically, all the 4.7 devices out there should be eligible for free upgrades to 5.0, so I don't know that it's worth it to support 4.7 anymore. Just support OS 5.0+.
Once you're sure that you have the correct SDK, then in the window you show in your screenshot, try removing that OS 4.7 library. Then, use the Add Library.. button, select JRE System Library and pick the BlackBerry JRE 5.0.0 (it may be in the Alternate JRE menu):
After you do that, try cleaning and rebuilding your project.

Blackberry - how to use an older component pack?

I am a Blackberry newbie. I develop on Mac OS Lion. I just installed the latest component pack for blackberry. However, the device that I am going to develop for has Blackberry 4.6 installed. So it is unable to run any of the new samples provided by the RIM component pack. How do I obtain an older version on eclipse?
You can install additional BlackBerry SDK versions via the BlackBerry's update site. Follow this guide, BlackBerry Java Plug-in for Eclipse Update Site, to learn how. According to this guide, as for today, the available BlackBerry SDK versions that can be downloaded via the update site are:
7.1
7.0
6.0
5.0
4.5 (Available for Windows only)
Also check this guide, BlackBerry Plug-in for Eclipse.

Could not install application via Desktop Manager

I am trying to install an application onto my device..I have compiled the application using JDK 4.5.0 and also signed it with RIM signing keys...But i am unable to install my application onto my device(8900) through desktop manager..It keeps on showing "application is not compatible with your device and cannot be loaded"... Since I have compiled my application in JDK 4.5, it must be compatible with all devices having OS > 4.5.0...What might be going wrong? Is there any version miss match?
Use javaloader.exe - it's much easier (it's in the bin directory of the JDE).

Resources