Dev. on J2ME CDC PersonalProfile 1.0 using intelliJ 5.1
hi all!
I'm about to develop an App for Pocket PC that offers GUI.
Therefor I'm using the PP 1.0, wich offers AWT.
By the way, the VM on my PDA is Esmertecs JBed CDC Personal Profile 1.0.
It is 100% compliant with the Sun Spec. mentioned in this topics title.
(said to be)
My Problem now is ,that my IDE, which is intelliJ 5.1 does to not support this
Profile by some plugin, or IDE Setting - I've contacted the jetBrains to find out.
So here is my Question:
Is there a way that I can stick to my beloved IDE?
Somewhere in the Forums here i found a entry where somebody was
working on exactly on the same topic, AND using intelliJ !!
This one was describing in short something like:
"All you need are the right jars for setting up the execution environment,
then U can use the IDE you want".
This is what i was looking for, even before i read this entry.
Jar files, that contain the restricted API, according to CDC PP 1.0.
Thereby i could set the execution environment in my IDE
conforming to exactly the one on the PDA. ((cross)compiling against ...)
Esmertec is not supporting me with such jar.
jetBrains cannot support me with that jar, but proposed to extend existing plugIns myself ....
So i'm currently lost with that topic, although i've browsed many Forums for days.
Can someone please help?
kind regards in advance
matthias
P.S.: Maybe there's another solution instead of the jar thing,
i've not yet taken into consideration ...
hi ove
first of all: thanX for your initiative - i think what you described is the right stuff for my purpose, too.
But as mentioned, i' would have liked to stick to my intelliJ IDE.
You really described a complete tools set for developing,
& I appreciate this very much.
But .... believe it or not, i found a different solution myself (at last):
Building a "customized SDK " by using parts of the CDC PP 1.0 conforming jars in btclasses.zip from:
http://java.sun.com/products/personalprofile/download.html
this contains a runtime environment i need.
(i know, it's said to be for linux, but it works for me on Win XP, too)
Until now that works fine ... i can stay with intelliJ.
greetz
matthias
P.S.: sorry bout removing the duke dollars, but i did so before i started editing
this to answer myself and for everybody with the same problem.
Saw your entry just afterwards.
But anyway - who cares for money..... ;-)
Similar Messages
-
URGENT: J2ME CDC on Linux/ARM7 platform..
Hi,
Is there a J2ME CDC available for Linux/ARM7 platform.
Its urgent.
thanks in advance,
RajYou can use JDK1.1.8 instead of CDC. Take a look here -> http://www.blackdown.org/java-linux/ports.html
-
Help regarding J2ME CDC for VxWorks target
hi
i'm getting a NoClassDefFoundError when attempting to run a "HelloWorld" test class in J2ME CDC for VxWorks target.
i created the boot image for VxWorks through J2ME CDC and made use of that boot image to boot VxWorks.
in the target, i navigated to "bin" directory using
cd "<j2me-home>/cdcfoundation/build/vxworks/bin"
and issued the command
runJava "-Djava.class.path=../testclasses.zip HelloWorld".
i got a NoClassDefFoundError when i ran the above command.
i'm herewith attaching the stack trace for u'r kind perusal.
please help me out of this situation.
thanks in advance,
ashok
java.lang.NoClassDefFoundError : java.io.VxWorksFileSystem
at java.io.FileSystem.getFileSystem()Ljava/io/FileSystem;(Native Method)
at java.io.File.<clinit>()V(File.java:98)
at java.lang.Class.runStaticInitializers()V(Class.java:1499)
at sun.misc.Launcher$ExtClassLoader.getExtClassLoader.getExtDirs()
[Ljava/io/File;(Launcher.java:164)
at sun.misc.Launcher$ExtClassLoader.getExtClassLoader()
Lsun/misc/Launcher$ExtClassLoader;(Launcher.java:130)
at sun.misc.Launcher.<init>()V(Launcher.java:70)
at sun.misc.Launcher$1.run()Ljava/lang/Object;(Launcher.java:52)
at java.security.AccessController.doPrivileged0
(Ljava/security/PrivilegedAction;
[Ljava/lang/Object;)Z(AccessController.java:265)
at java.security.AccessController.doPrivileged
(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)
Ljava/lang/Object;(AccessController.java:278)
at java.security.AccessController.doPrivileged
(Ljava/security/PrivilegedAction;)
Ljava.lang/Object;(AccessController.java:251)
at sun.misc.Launcher.<clinit>()v(Launcher.java:43)
at java.lang.Class.runStaticInitializers()V(Class.java:1499)
at java.lang.ClassLoader.getStaticClassLoader()
Ljava/lang/ClassLoader;(ClassLoader.java:968)Did you solve the problem?
You probably have to need to input "-Xbootclasspath".
I also have the silimar problem.(UnsatisfiedLinkError)
If you know about below, let me know. please.
Thanks in advance.
-> runJava "-Xbootclasspath=/Flash0/cdc.jar -Djava.class.path=/Flash0 HelloWorld"
rfaSetMappingContext called!
rfaSetMappingContext called!
rfaSetMappingContext called!
java.lang.UnsatisfiedLinkError: java.io.VxWorksFileSystem.initIDs()V
at java.io.VxWorksFileSystem.<clinit>()V(Unknown Source)
at java.lang.Class.runStaticInitializers()V(Unknown Source)
at java.io.FileSystem.getFileSystem()Ljava/io/FileSystem;(Native Method)
at java.io.File.<clinit>()V(Unknown Source)
at java.lang.Class.runStaticInitializers()V(Unknown Source)
at sun.misc.Launcher.getClassPath(Ljava/lang/String;)[Ljava/io/File;(Unknown Source)
at sun.misc.Launcher.access$200(Ljava/lang/String;)[Ljava/io/File;(Unknown Source)
at sun.misc.Launcher$AppClassLoader.getAppClassLoader(Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;(Unknown Source)
at sun.misc.Launcher.<init>()V(Unknown Source)
at sun.misc.Launcher$1.run()Ljava/lang/Object;(Unknown Source)
at java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;(Unknown Source)
at java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;(Unknown Source)
at sun.misc.Launcher.<clinit>()V(Unknown Source)
at java.lang.Class.runStaticInitializers()V(Unknown Source)
at java.lang.ClassLoader.getSystemClassLoader()Ljava/lang/ClassLoader;(Unknown Source)
-
Developing J2ME CDC PP for Axim X51 PDA
Hi..
Im trying to develop a program for a Dell Axim X51, which is going to be using RMI to connect to a server.
I just want to hear if what i found out so far is correct, before proceeding with my program, which is a 3. Semester project.
J2ME CDC Personal Profile is the largest profile which contains the following classes that Personal Basis profile doesn�t:
java.applet
java.awt.datatransfer
Nokia S80 emulator is capable of using personal profile.
Netbeans 5.5.1 + NetBeans Mobility Pack for CDC + Nokia S80 emulator for CDC/PP gives the ability to develop and test J2ME CDC/PP code.
It is possible to import java.applet and/or java.awt.datatransfer ! The reason for asking this question is that it gives me a import error, for these two classes.
Esmertec�s Jbed CDC contains a J2ME Runtime environment for CDC personal Profile with the Optional RMI package, and it can be installed and used on a Dell Axim X51 PDA.
Scorp-DHI,
Did you find the answer?
If not then probably you want to look at this whitepaper
http://java.sun.com/products/cdc/wp/cdc-whitepaper.pdf
On page 14-15-16, you can see some info on the compatibility.
Hope it helps -
J2ME, CDC, Pocket PC, simulated keyboard problem
I've developed a number of java apps for the pocket pc J2ME/CDC platform.
Whenever I open the simulated keyboard and then close it, components (labels and text fields) disappear from the panel. Opening and closing the keyboard "occasionally" causes the missing components to reappear. But this is not a reliable work around.
Has anyone run into this problem?
I've already tried saving the panels graphics properties at startup and then performing panel.paintAll(Graphics g) or panel.paintComponents(Graphics g). Neither worked successfully.
Thanking you in advance for your help.
Regards,
Joseph LeeJ2ME CDC platform, I've run into a similar problem. I was using the IBM J9 (WEME 4.7.2) with the Windows Mobile 2003 2nd edition & WinCE 4.2 no problem, except for 256 character limit in classpath startup string, but when upgrading mobile devices OS to Windows Mobile 5.0 & WinCE 5.0 had to upgrade the IBM J9 WEME to the 6.1.1 version, which eliminated the 256 character limitation in the classpath, but now my special keys (F1, F2, F3, F4) do not pass thru the JVM. This is important function to my Oracle GUI client application which runs on wireless mobile scanner computer devices. I've tested key mappings, and when running trace files, the IBM WEME 6.1.1 does not pass any values (which show up as translated ASCII values, i.e. F2 = 71, F2 = 72), so I'm guessing that the API has changed. Currently running more tests.
Regards,
mark Colonese -
J2ME,CDC, Pocket PC Keyboard problem
I've developed a number of java apps for the pocket pc J2ME/CDC platform.
Whenever I open the simulated keyboard and then close it, components (labels and text fields) disappear from the panel. Opening and closing the keyboard "occasionally" causes the missing components to reappear. But this is not a reliable work around.
Has anyone run into this problem?
I've already tried saving the panels graphics properties at startup and then performing panel.paintAll(Graphics g) or panel.paintComponents(Graphics g). Neither worked successfully.
Thanking you in advance for your help.
Regards,
Joseph LeeJ2ME CDC platform, I've run into a similar problem. I was using the IBM J9 (WEME 4.7.2) with the Windows Mobile 2003 2nd edition & WinCE 4.2 no problem, except for 256 character limit in classpath startup string, but when upgrading mobile devices OS to Windows Mobile 5.0 & WinCE 5.0 had to upgrade the IBM J9 WEME to the 6.1.1 version, which eliminated the 256 character limitation in the classpath, but now my special keys (F1, F2, F3, F4) do not pass thru the JVM. This is important function to my Oracle GUI client application which runs on wireless mobile scanner computer devices. I've tested key mappings, and when running trace files, the IBM WEME 6.1.1 does not pass any values (which show up as translated ASCII values, i.e. F2 = 71, F2 = 72), so I'm guessing that the API has changed. Currently running more tests.
Regards,
mark Colonese -
Hi, I need some help with CDC. I am wondering if there is a way to run CDC program in the J2ME Toolkit emulator?
Here's some extra information, don't know if its any use. I am running Windows 2000 with CDC Personal Profile. I compiled my code using "javac -bootclasspath C:\WTK21\j2me-pp1.0\btclasses.zip *.java". It works fine on Windows 2000 when I run it using J2SE. When I run it in the J2ME Toolkit it says java.lang is not defined.
I just want to say that I'm really lost. Thanks.
Derek
http://users.wpi.edu/~aram/mqp/Sorry Derek, J2ME Toolkit emulator is made to run CLDC apps.
I'm also trying to gather all information possible to begin to work with J2ME CDC.
If i'm not wrong there's something like Personal Profile Emulator that you could use.
Lots of luck and kind regards
Jose Luis
>
Hi, I need some help with CDC. I am wondering if
there is a way to run CDC program in the J2ME Toolkit
emulator?
Here's some extra information, don't know if its any
use. I am running Windows 2000 with CDC Personal
Profile. I compiled my code using "javac
-bootclasspath C:\WTK21\j2me-pp1.0\btclasses.zip
*.java". It works fine on Windows 2000 when I run it
using J2SE. When I run it in the J2ME Toolkit it says
java.lang is not defined.
I just want to say that I'm really lost. Thanks.
Derek
http://users.wpi.edu/~aram/mqp/ -
Where I can find J2ME cdc foundation 1.0.1 not 1.0.2
Can anyone tell me where I can download J2me cdc foundation 1.0.1, I only found 1.0.2 on web site.
Thanks.Can anyone send to me a copy of it ?
[email protected]
Many thanks -
How to develop web service using Intellij Idea 6.0
How to develop web services using Intellij Idea 6.x. A sample web service and service client is needed with full procedure. Thanx in advance.
Web service is technology not a tools that bundle with IDE.
For example you can't say how can I develope object orented program with Eclipse.
1- You should get some general info about SOAP, WSDL and Web sevice usage
2- Start to implmenet a simple Hello world web service and deploy it on application(web service) server
3- Write Client code and test it.
for step 2,3 Apache Axis(2) could be a good solution for developement or you can use JAX-WS for sun -
I used IntelliJ GUI desiger to draw a panel to be used in an applet.
It worked the first time applet is inited. Then I refresh IE, then I had the following exception:"IntelliJ java.lang.IllegalArgumentException: layoutState cannot be null"
I kept refreshing IE, still sometime it works, some time it doesn't.
But if I used ctrl-F5 to refresh IE, then applet is inited again.
What's wrong here? Is there something wrong about the .form file?I used IntelliJ GUI desiger to draw a panel to be used in an applet.
It worked the first time applet is inited. Then I refresh IE, then I had the following exception:"IntelliJ java.lang.IllegalArgumentException: layoutState cannot be null"
I kept refreshing IE, still sometime it works, some time it doesn't.
But if I used ctrl-F5 to refresh IE, then applet is inited again.
What's wrong here? Is there something wrong about the .form file? -
How to add a table (J2ME CDC)
Is there a way to add a table?
I am using Eclipse IDE & IBM J9 ( Personal Profile 1.1, FP 1.1, CDC 1.1)
Thanks in advance.Hi , Swapna
is you mail address right? can not send out.
first , you should have added one field using EEWB , then to EEWB , find the extension , double click on the task, there you will find a "object list" on the right, the list will give you many many very important information , you should look through .
then double click on the "screen: ..........EEW......." , layout , there you will find the field you have added in . and you can draw anything you want there , then back to the screen flow , write you flow logic in PBO and PAI .
about the global data definition, again to the "object list", you will find a "Report source code: ......................TOP". in there ,you can define all you data .
another thing if you want to save your input field to database tables that you draw (not by EEWB added)
two ways:
1. write update table directly in PAI module .
2. you can use this BADI : ORDER_SAVE , this is when you save the order to trigger the save action. -
Hi all,
I am compiling some code in Netbeans using the CDC libraries and I am getting
this:
Compiling 20 source files to C:\build\compiled
C:\CP\ControlPanel.java:56: generics are not supported in -source 1.4
(try -source 1.5 to enable generics)
The only Java platforms I have in there are CDC and J2SE 1.5 - why does the compilation keep
referring to 1.4 as source? Furthermore, let's say for some reason it does, how does one
change this?
Thanks muchHi all,
I am compiling some code in Netbeans using the CDC libraries and I am getting
this:
Compiling 20 source files to C:\build\compiled
C:\CP\ControlPanel.java:56: generics are not supported in -source 1.4
(try -source 1.5 to enable generics)
The only Java platforms I have in there are CDC and J2SE 1.5 - why does the compilation keep
referring to 1.4 as source? Furthermore, let's say for some reason it does, how does one
change this?
Thanks much -
hi all
i would like to know how i can build CDC for Arm-linux (based on an Arm9)
Indeed, i need to implement OSGI-Oscar on my embedded board and i don't understand how i can use Cdc
is anybody could help me....
with regards
katolechohi all
i would like to know how i can build CDC for Arm-linux (based on an Arm9)
Indeed, i need to implement OSGI-Oscar on my embedded board and i don't understand how i can use Cdc
is anybody could help me....
with regards
katolecho -
Sandpit and Dev give Address search with different results using Web UI
Using the Sandpit system I can perform a BP search on Street and enter the post code, but it still finds the right address. However, in our development sytsem it does not. The FM which performs the search is identical so I assume this would be down to some kind of address related config?. Can anyone enlighten me further as what could possible cause this?.
Jason
[RESOLVED]
Edited by: Jason Stratham on Sep 8, 2009 11:35 AMOkay. So, I asked the admin to create a scope for the list, which they did following the steps outlined in Ben Tedders article, and then I followed the steps in the rest of the article setting up the web parts. When I ran a search, it returned the no results
page. Not sure why, but I removed the scope from the Search Core Results web part, and the search returned usable data from the list.
Here's my part ii question - - how do I customize the Search Core Results web part to display the data from the search in manner that makes more sense than from a list of nondescript layout of,
Search Result
Search Term ... dataField01 ... dataField02 ... dataField03 ... dataField04 ...
author info
url info
to something a tad more informative, such as,
You search for Search Term, with the following results:
Search Result
dataField01 label ... dataField01
dataField02 label ... dataField02
dataField03 label ... dataField03
dataField04 label ... dataField04
because nobody's really going to care who uploaded the list or want to link to the data pulled from the list in one of those columnar results tables. -
Getting error when passing objects using IntelliJ 7.0
Hi All,
i have just started working in Web Services using Axis 2 in IntelliJ IDE. i am getting this error when i pass objects:
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.i have used rpc/literal, i tried with other combinations but not working.
i have created two class called "address" and "user" and i want webservice client to pass "address" object to a "user" method.Hi,
Try populating the ltab_extensionin as the code given below:
Maybe it can help you.
Constants: c_flag_bape_vbak TYPE char10 VALUE 'BAPE_VBAK', " Constant
c_flag_bape_vbakx TYPE char10 VALUE 'BAPE_VBAKX'," Constant
wa_bape_vbap-vbeln = space.
wa_bape_vbap-posnr = wa_order_items_in-in_linenumber.
MOVE c_flag_bape_vbak TO wa_extensionin-structure.
MOVE c_flag_bape_vbap TO wa_extensionin-structure.
CALL METHOD cl_abap_container_utilities=>fill_container_c
EXPORTING
im_value = wa_bape_vbap
IMPORTING
ex_container = wa_extensionin-valuepart1.
APPEND wa_extensionin TO it_extensionin.
CLEAR : wa_extensionin.
MOVE c_flag_bape_vbapx TO wa_extensionin-structure.
wa_extensionin-valuepart1+0(10) = space.
wa_extensionin-valuepart1+10(6) = wa_order_items_in-in_linenumber.
wa_extensionin-valuepart1+80(3) = abap_true.
APPEND wa_extensionin TO it_extensionin.
CLEAR : wa_extensionin.
Regards,
Shweta
Maybe you are looking for
-
I bought a new external hard drive for backups, but time machine won't do a full back up. I think it is remembering backing up onto previous external hard drives, which I don't own anymore. How do I do a new full backup? When I bought the new (used
-
Hi, Could somebody tell me if i can embed a static function (ABAP) in an XSLT. Thanks in advance Rachana
-
Will iTunes Plus files work in FCP?
Does anyone know if new iTunes Plus files will work in Final Cut Pro now that digital rights management (DRM) has been removed? Usually when I use AAC files in FCPX the files are mute.
-
Columnbreaks in version 1.0?
My question is a simple one: Are columnbreaks considered to be part of version 1.0 of TLF? And if not, does anybody know a workaround on how to achieve this? thanks a lot in advance, Roland
-
Can we deploy 9.0.2 Business Components application on Application Server 10g ?? Thanx Edu