Discussions
Categories
- 196.9K All Categories
- 2.2K Data
- 239 Big Data Appliance
- 1.9K Data Science
- 450.4K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 546 SQLcl
- 4K SQL Developer Data Modeler
- 187.1K SQL & PL/SQL
- 21.3K SQL Developer
- 295.9K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.6K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 443 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
ADF Mobile Client : Error while trying to import javax.microedition.*

761579
Member Posts: 7
Hi,
JDev throws errors at compile time when I try to deploy a sample ADF Mobile Client application.
These errors are related to javax.microedition.io.* imports.
Error(11,29): package javax.microedition.io does not exist
Error(12,29): package javax.microedition.io does not exist
Error(180,9): cannot find class HttpConnection
Error(191,27): cannot find class HttpConnection
Error(191,42): cannot find variable Connector
Error(250,49): inconvertible types
Error(303,40): cannot find variable HttpConnection
Any pointers as to how these errors could be resolved?
Is there a JDev Wireless extension that should be installed to resolve these J2ME related errors?
For JDev 10g, I could locate one such extension called JWE here : http://www.oracle.com/technology/products/iaswe/archive/developer/index.html
I could not find any similar extension for JDeveloper 11.1.3.
Regards,
Prasad.
JDev throws errors at compile time when I try to deploy a sample ADF Mobile Client application.
These errors are related to javax.microedition.io.* imports.
Error(11,29): package javax.microedition.io does not exist
Error(12,29): package javax.microedition.io does not exist
Error(180,9): cannot find class HttpConnection
Error(191,27): cannot find class HttpConnection
Error(191,42): cannot find variable Connector
Error(250,49): inconvertible types
Error(303,40): cannot find variable HttpConnection
Any pointers as to how these errors could be resolved?
Is there a JDev Wireless extension that should be installed to resolve these J2ME related errors?
For JDev 10g, I could locate one such extension called JWE here : http://www.oracle.com/technology/products/iaswe/archive/developer/index.html
I could not find any similar extension for JDeveloper 11.1.3.
Regards,
Prasad.
Best Answer
-
Hi, just want to make sure - did you install the ADF MObile Client extension yet? Please go to JDev-Help-Check for Updates-Official Oracle Extensions and Updates, and find Oracle ADF MObile Client Extension in the list. Check it, download it, and then restart JDev. Sounds like the extension was not installed, so it's not able to load any J2ME libraries.
If you have downloaded the extension already, please go to project properties-libraries and classpath, and then see if the sample app is referencing some third party libraries, for example something from RIM. If so, please double check the path to the library.
Once you installed the extension, you can also access the ADF Mobile Client developer guide - it contains all the documentation around what you need to install first. Please take a look and see what you need to install - at a minimum, you need to install BlackBerry JDE if you want to deploy to BlackBerry, and Windows Mobile Emulator if you want to test the app on Windows Mobile. Lastly, if you need to synchronize data, then you also need Oracle Database Lite MObile Server installation.
Thanks,
Joe Huang
Answers
-
Hi, just want to make sure - did you install the ADF MObile Client extension yet? Please go to JDev-Help-Check for Updates-Official Oracle Extensions and Updates, and find Oracle ADF MObile Client Extension in the list. Check it, download it, and then restart JDev. Sounds like the extension was not installed, so it's not able to load any J2ME libraries.
If you have downloaded the extension already, please go to project properties-libraries and classpath, and then see if the sample app is referencing some third party libraries, for example something from RIM. If so, please double check the path to the library.
Once you installed the extension, you can also access the ADF Mobile Client developer guide - it contains all the documentation around what you need to install first. Please take a look and see what you need to install - at a minimum, you need to install BlackBerry JDE if you want to deploy to BlackBerry, and Windows Mobile Emulator if you want to test the app on Windows Mobile. Lastly, if you need to synchronize data, then you also need Oracle Database Lite MObile Server installation.
Thanks,
Joe Huang -
Thanks Joe, I figured it out that it is Net_rim_api.jar that is causing those errors, and added it to my project to resolve them.
Regards,
Prasad.
This discussion has been closed.