How To Run JAR Application On NOKIA 6030? - netbeans

I have a problem. I make an application in MIDP and then run it in wtk 2.2 it runs perfectly but when I use datacable and install the application using jad and jar on the mobile (NOKIA 6030); the application does not open. Can anyone help me on this?
Mobile Error = "invilied application delete this application?"

just open your project in Netbeans, right click on project & select properties. In left side select Second Option "PlatForm" and now in Right side change the version of MIDP Verion to 2.0 your problem will be solved. By Default NetBeans uses Midp-2.1 Version so this error is very common.

Related

Google Deploy to App Engine disabled in Eclipse

I am using the Google Plugin for Eclipse to deploy my project to App Engine, and this has worked great for over a year. But a couple of days ago it stopped working, and I can not seem to find the reason. The project is still an App Engine project, but the Deploy to App Engine button is disabled.
I already reinstalled the entire Google Plugin in Eclipse. I also added another GAE project, but then the button is still disabled. I managed to enable the button once to upload, but I don't know what triggered the enabling.
Has anyone seen this before and any clue on how to fix this?
EDIT: The button enabled when I removed and re-added the App Engine SDK from the build path of the project. After the deployment, the button disabled again..
This is a known bug in the latest 3.9.1 release. The fix will be pushed on Monday, 5/2.
The same thing is happening for my eclipse mars. The workaround I'm using is, File >> Close Project, then double click to open project, voila.
For those who don't want to wait (I didn't), use appcfg. If you want to use External Tools, you'll find the executable in (SDK install - check configured SDK's)/bin/appcfg.(sh|cmd)
Set the working dir to the project folder, the commands are "update war", where 'war' is the location of the war directory relative to the project folder.
I set JAVA_HOME under the environment tab to the Java SDK, and PATH to the Java SDK/bin directory, and "replace native environment with specified environment" on Windows, worked fine without Environment settings on Linux.
The "Deploy to App Engine" only disables itself when I select another project. So to get it enabled:
Deselect all projects (Ctrl+Click on the selected project - or restart Eclipse).
Select your project.
It should then be enabled (well, it was for me).
EDIT: Google rolled out a new version of the plugin, and now the button works fine.
Running Eclipse Neon 4.6.3 with no issue. To get it enabled:
Install Google Cloud SDK and Cloud Tools for Eclipse https://cloud.google.com/eclipse/docs/quickstart
Install components using the Google Cloud command line
gcloud components install app-engine-java
Convert eclipse project to a google app engine project
Right-click on project
Click on Configure
Click on Convert to standard app engine project
Make sure you click on the project and... voila!
For me simple restarting of the eclipse did the trick.
I had closed the project by mistake and when I re-opened it, the deploy button was disabled.

How can I debug a GWT project in eclipse?

I have a GWT-Maven project and I want to debug it. I have not any Idea about debug in development mode or production mode. so I am giving some step which I did.
I deploy the war file on tomcat6 liferay server.
now I set a break point on server side(its work perfect)
when I set break point on client its not workig.
so is there is any way to debug GWT client on development or production mode.
I'm not sure if I'm following you correctly, but GWT is compiled into JS. Take a look at sourceMaps, I believe that's what you're looking for.
You should use the debugger of your browser. Chrome is best for this.
Launch your GWT app.
Press F12 to open developer tools.
Select "sources" tab
In the tree on the left open "Title of your page (xxxx.html)"
Below this you will see source maps with all your packages.
Open the java file you wish to put a breakpoint in and set a breakpoint using Chrome.
Doing client side GWT debugging in Eclipse is afaik not possible. But for me the Chrome debugger is more than enough.
I think IntelliJ can do client side debugging for GWT from whitin IntelliJ itself (for the paid version of IntelliJ).

Can't sign into Google using Google plugin for Eclipse

I am using Eclipse Luna and I recently installed the Google plugin for Eclipse to deploy apps to the Google app engine.
I tried signing into Google services and was able to get past the password prompt and 2-step verification screen successfully. After that I get the permissions screen where I click 'Accept'.
After I click 'Accept' however nothing happens and the window goes blank. I've waited for like an hour and yet it just stays like that.
I have tried using a different Eclipse workspace, a different Eclipse installation (Luna), a different Google account which doesn't have 2-step authentication but I get the same result.
I have even checked the Eclipse log file and there are no entries made at time I tried signing in.
I've searched around but couldn't find anything related to this. Thanks in advance.
Right click, choose another encoding. Worked for me!
I faced the same issue with next configuration
Windows 8.1
JDK 7 and 8
Eclipse Luna
Google Plugin for Eclipse 4.4
GWT SDK 2.6
App Engine SDK 1.9
I think that something wrong with Google plugin, so here my Windows command line workaround:
Download and install external tools: App Engine SDK, Apache
Ant. At moment of writing this text Google App Engine doesn't
support Java 8, so you need install Java 7 and configure JAVA_HOME
environment variable accordingly.
Add to PATH environment variable paths to bin folders of App Engine and Ant.
Run command line and go to folder of your Eclipse project. Note that your project must be configured with Ant and build.xml file must be inside your project's folder.
Type ant build command and wait until successful compilation.
Configure your application ID via Eclipse or edit file war\WEB-INF\appengine-web.xml and set appropriate value into <application> tag.
Type app cfg update war It may run your browser, ask you credentials and ask to paste generated key.
After successful deploy navigate to your_application_id.appspot.com
Enjoy.
Read this article for details.
There were some bugs in the oAuth flow when you encountered this. We fixed all the ones we knew about last year. GPE login should be working now, but if not you can also try the newer Google Cloud Tools for Eclipse.
I had exactly the same problem ( Ubuntu 16.04 LTS )
To solve it I went to Eclipse Market Place and installed Google Cloud Tools for Eclipse 1.1.0
I accepted all the items to be installed
When I finished the installation, I restarted Eclipse, reopened it, clicked the Google icon in the bottom right corner, and logged in to the Chrome browser (It opens Chrome automatically).
This way I managed to make the connection.
I hope this can help !

After installing Blackberry Java plug-in in Eclipse cannot see the option for running the blackberry project

I have being developing application using android on Eclipse Helios(Windows XP).
Now i want to develop it for blackberry, and for that i found the following links
http://thinkingblackberry.com/?p=260
http://us.blackberry.com/developers/javaappdev/javaupdate.jsp
Now installation ran smoothly, i can see the blackberry installed in HELP -> ABOUT option in Eclipse. but when i started Eclipse i cannot see the option's for blackberry.
Have you tried the menu on the upper right border of eclipse?
Go to Window->Open Perspective->BlackBerry Application Development
There you have it.

Blackberry Package Project for Multiple OS Targets/Versions

I'm using the Eclipse plug-in and my app runs on the following simulators: 9800, 9700, 8900 ,i.e, it is compatible with OS versions 5 and 6. However , when I package the application to run it on a device, the .alx file is generated correctly but there is also a folder called '6.0.0' with all the other files like .cod, .jar, etc. My question is, shouldn't there be a similar folder '5.0.0' with files for OS version 5? And if yes, then how do I go about generating it?Please help!
Ok just incase someone else is as frustrated by this as I was here's the solution:
Changing BlackBerry JRE to an Older Version (Eclipse Plug-in)
Just Check the project properties, it will be 6.0 JRE.
To be clear, you need to install the 5.0 in Eclipse by going through Help menu-Install Software, and add the Blackberry update site: http://www.blackberry.com/go/eclipseUpdate/3.6/java. Download the required OS from there.
Then, right click in the project, go to properties of the project and in it go Java Build Path, and under it, go to Libraries tab, you will find JRE to be 6.0, you need to change it to 5.0.