How do I run a Java Application on Pocket PC 2003 (iPAQ 2210)
I am writing an application for the iPAQ 2210. It will need to commuunicate over GPRS sending POST requests to a server (I think I will be using the Java.net package) the user interface will be very simple (a few buttons and text boxes) and will capture the data entered and send it back to the server (via the POST HTTP request) and read the response from the POST.
I believe I need to use the Personal Profile version of J2ME and I am only using the classes that it says are supported. How do I run the App on the Pocket PC. Having spoken to HP they have said I shouldn't need a virtual machine and that pocket pc 2003 has one built in! Is this so or should I get myself the Jeode Virtual machine?
Is the Jeode machine the best one?
Sorry to ask so many questions in one go, I'm a little lost at the moment!!
Jon
Hello Jon,
I will suggest you using IBM WSDD. Although it uses its own version of JVM(J9), but it suits to your needs well.
I think you should base your project on foundation profile(as you need some gui as well as java.net).
regards
-fatbrain73
Similar Messages
-
How can I run a java-application on starting of Windows 2000
How can I run a java-application without any user on starting of Windows 2000?
For example, if the computer is restarted and nobody enter into it yet, my java-application should run anyway.
How can I do that?Hi, you have to put it in a Windows service.
To do this you have a program, Srvany.exe that allow to insert a .exe or .bat program in a Windows service.
For example, i develop a program, TomcatGuardian and i put it in a service because i need to run it in a server without Administrator logged in.
Regards,
Ivan. -
How do i run a java application in jdk1.3
im trying to run a java application in jdk 1.3. I created it in jbuilder and i was trying to use the applet viewer.
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/appletviewer.html
Jesper -
How to constant running a java application
I have created a java application. My main class is called PTS.class and that has my main method.
I wish to run this class continously, such that each time the main method completes execution, it is called again.
I could probably do that by creating a thread which runs infinitely, as below. Is this a good skeleton solution? Will each instance of class PTS be garbage collected after execution, before a new one is created?
Is there any freeware Java scheduler out there that allows me to do the same thing i.e. running an application infinitely?
public class TestApplication implements Runnable{
p.s.v.m (String[] args){
Thread t = new Thread(this);
t.start();
public void run(){
while(true){
PTS pts = new PTS();
}I'm not aware of any general Java based scheduling applications, though there certainly may be some. In general schedulers are built into the O/S such as cron. More robust schedulers like AutoSys are native code in part because they need to do O/S specific things like change who a particular process is running as.
Depending on your needs it shouldn't be too bad to write your own. -
How can I run a Java-Application with a Desktop-Icon ?
Hello,
I have got a problem: I want my Java-application directly by clicking on a desktop icon. Is there anybody who can tell me how to do so ? (I don't want to change my application into an exe File !!!).
It would be nice if you could give me a detailed explanation (or a link to thus) because I'm not used to the Windows-Classpath System (...as far as I need this...I don't know).
Thank you very much,
FindusOk...in the syntax just postet I forgot to set the absolute path of the file...but eveb if I do so it does not work...here the variations I tried...
D:\j2sdk1.4.1_01\bin>java D:\Viever\Gui
Exception in thread "main" java.lang.NoClassDefFoundError: D:\Viever\Gui
D:\j2sdk1.4.1_01\bin>java D:/Viewer/Gui
Exception in thread "main" java.lang.NoClassDefFoundError: D:/Viewer/Gui
D:\j2sdk1.4.1_01\bin>java D:\Viewer\Gui.class
Exception in thread "main" java.lang.NoClassDefFoundError: D:\Viewer\Gui/class
D:\j2sdk1.4.1_01\bin>java D:Viewer/Gui
Exception in thread "main" java.lang.NoClassDefFoundError: D:Viewer/Gui -
How can i run my java Application stand alone?
Dear all,
As the topic i want to run my application in a single file without showing the dos prompt or type in the command in dos prompt by the user......
How can i do that, since in my application , i have used so other package?
In fact i just want to do something like just run a executable file in windows.
ThxSounds like your JRE didn't install properly. Either reinstall it or you can enter the file association manually.
On Windows NT (it may be different on other versions of Windows) take the View/Options menu item from an Explorer window
Click on the File Types tab.
Click the "New Type" button.
Give it the name "Executable jar file" and an associated extension of jar
Click the "New.." button
Make the action open
Make the application something like
"C:\Program Files\Java\j2re1.4.0\bin\javaw.exe" -jar "%1"
changing it for your installation.
Col -
How will I run a java application
hello! i'm currently doing application using Java(TM) 2 SDK, Standard Edition 1.4.2_05, i just want to ask how and where will I run the application. thanks... =)
How?
You just start it using the java command, and the classname (you might have to specify the classpath as well).
Where? Well, that's up to you?
/Kaj -
Running a java application from a java application
hello ,
please who knows how i can run a java application 'B' from inside another java application 'A' and get the error messages (if any) from the application 'B'how are you executing application B from application A? Please explain the java code you are using?
-
Running a Java application from a Swing GUI
Hi,
I was wondering if there is a simple way to run a Java application from a GUI built with Swing. I would presume there would be, because the Swing GUI is a Java application itself, technically.
So, I want a user to click a button on my GUI, and then have another Java application, which is in the same package with the same classpaths and stuff, run.
Is there a simple way to do this? Do any tutorials exist on this? If someone could give me any advice, or even a simple "yes this is possible, and it is simple" or "this is possible, but difficult" or "no this is not possible" answer, I would appreciate it. If anyone needs more information, I'll be happy to provide it.
Thanks,
DanI don't know if it is possible to run the main method from another Java app by simply calling it...
But you could just copy and paste the stuff from your main method into a new static method called something like runDBQuery and have all the execution run from there.
How does that sound? Is it possible?
What I'm suggeting is:
Original
public class DBQuery{
public static void methodA(){
public static void doQuery(){
methodA();
public static void main(String[] args){
// Your method calls
//Your initializing
doQuery();
}Revised:
public class DBQuery{
public static void methodA(){
public static void doQuery(){
methodA();
public static void doMyQuery(){
// Your method calls
//Your initializing
doQuery();
// No main needed!!
//public static void main(String[] args){
// Your method calls
//doQuery();
//} -
Is it possible to run a java application within a web browser?
Hello everyone here! I have a question about running a java application within a web browser and I would appreciate it very much if anyone here can give me some answers.
I have a standalone java application written with AWT. Basically this free application lets users to select spectral lines from a big file based on some criteria and plot those selected lines. Yes, it is a very simple application. Now I want to run this application within a web browser so that users don't need to download the application from the ftp site and thus don't need to install in their machine. Is it possible to run this application within browser? If yes, can we get the same plotting function as we run the application separately and where should I start out?
Thanks in advance!
kuilianPlease see the signed applet discussion group for details of how to avoid the applet security restrictions. You can sign the applet, or use the policy file containing {AllPermission} for testing purposes (though not suitable for widespread deployment).
Regards
Matthew -
Proble regarding running a java application
hi guys
i'm new to java environment .
when i'm running a java application in a console ,
it is not able to give output in other directories.it is working only in c:\j2sdk\bin.
i think its the problem of setting classpath.
can any one help me hw to run java program in any folder.You need to add that directory to your PATH. Follow
the installation instructions more completely.Howdy sheriff Warnerja! How's life in the Schmuckville Home of the Ball-less? Any leads regarding the dot flasher case? I see you're on the PATH.
Sheriff Warnerja of Schmuckville sensed an indecency plot.
Here was someone exposing her private dot.
He went on the trail,
but of no avail:
He didn't know where to find that intimate spot! -
Running a Java Application in Windows
Hi, Can anyone tell me how to run a Java Application in Windows? I've tried to run it using TextPad 4.5 but it gives me an exception saying it can't find a class defenition. I'm actually using IBM VisualAge for Java to develop the app and it runs fine INSIDE VisualAge and I've exported my compiled class files and so on, to run it stand-alone in Windows. I'm using some custom objects and inner classes, could these be the problem?
YES! SUCCESS! I exported my class files from VAJ and along with the manifest file that it adds automatically. I opened up the jar with Winrar, extracted the manifest file and added the Main-class: header pointing to my executable and then put it back in the jar with winrar. And PRESTO! I can now run it with javaw! Thanks for your help peeps...
-
Running a Java application from a web page?
Hi
Could anyone please tell me how do i launch a java application (which is not an applet) by clicking a button on a web page?
Does the application have to be converted to .exe? And if so how do i do it?
The application is on my PC not on a server.
Thanking u in advance for ur help.Hi dins19
Java WebStart is a pretty good technology for that purpose. Installing and launching a Java application on a local machine has always been a burdensome task. JWS really remedies that. The cool thing about JWS is that it works for both web and client applications. The technology introduces a new file format called jnlp which tells a program called "Java Web Start Application Manager" where the resources, typically a single jar file, are located. Check out
http://java.sun.com/products/javawebstart/
for a nifty demo.
Hope this has been of some help.
Morten Hjerl-Hansen -
How do i run a java program an another directory?
How do I run a java program that's in a different directory?
I have been doing this in the command line:
java "C:\Document and Settings\freeOn\Desktop\Java\Test\test"
and I get
Exception in thread "main" java.lang.NoClassDefFoundError:
C:\Document and Settings\freeOn\Desktop\Java\Test\test
I just thought there might be a quick way to do this and not
have to cd to the following dir evertime i want to run an app in
console.
The test.java file is this:
import java.io.*;
public class test {
public static void main(String args[]) {
System.out.println("Testing.....");Ok I looked in the java help and found the classpath, this makes it alittle easier.
java -cp C:\DOCUME~1\freeOn\Desktop\Java\Test\ test
At least i can run this in the run dialog which makes it easier thanks for you help kota balaji -
Running a java application in command prompt
hi, I'm new to this forum.
I would like to know what exactly needs to be specified to run a java application in a normal DOS command prompt.
I know it is something like:
javaw -classpath .\class GUI.applicationGUI
where applicationGUI is the main class, right? What else do I need to do, since I have some other non-GUI classes that I need, inside the class folder ?
Thanks for your time.You need to import those classes. And you need to make packages.
In classes 1, 2 and 3 put:
package class;
In class 4 put;
package class.GUI;
Then you need to make the connection:
In classes 1,2 and 3 put:
import class.GUI.*;
In class 4 put:
import class.*;
Compile each directory separately while in the respective directory. javac *.java
Then go back to the directory above the directory "class" and run
java class/GUI/name_of_file_containing_main_method
Maybe you are looking for
-
Moving referenced masters in Bulk
I currently have a 500gb drive on which I store my referenced master images and I just filled it up. I purchased a larger RAID 10 system to upgrade my storage and would like to migrate all of my masters to it. I know that I can go through each projec
-
BEx Issue - BEx not connecting
Gurus, Need your help. Recently we applied a Windows Security patch at company and now I am not able to get connected to BEx analyzer either thru RRMX or from BEx applications. The Micorsoft Excel opens up but it is not connected by default using RRM
-
When i try to download additional garageband sounds, it states that I am not connected to the internet but I am. How can I fix this? I have a new Macbook Pro, OS X 10.9.3 and the latest Garageband that came installed.
-
Search: standard field as search criteria
Hello, I have problem because of a search component within the webclient ui framework (background SAP Solution Manager). Background: There is a ui search component to search for change documents (which are plain entries within the table crmd_orderadm
-
I have a iMac7,1 with 30% space left and it runs so slow, why?
I have an iMac7,1 with 30% space left on the hard drive and it runds slower and slower, why?