Where can I find "Device" file to add to EclipseME java project? - java

I installed JavaME and EclipseME, and I'm trying to make a Hello World to my Nokia5530. But the imports are not working.
This page says that I need a "Device" file, but I don't know where to find it.. any idea?

Since it appears no on else is helping with this, I will start an answer, and put in my last comment into here.
OK, you need to install the Nokia SDK and then import it, as explained here, though your phone may not be series 60, you will need to d/l and then import the appropriate nokia sdk version: http://wiki.forum.nokia.com/index.php/Installing_Java_ME_development_tools_for_S60#Configuring_EclipseME
I haven't tried the suggestions here as I primarily develop on Windows at the moment, but the idea of using wine to install the SDK, and then move the files to an appropriate place on Linux sounds like a reasonable suggestion. I don't know if the suggestion below of compiling it yourself would be useful, but, there were some suggestions in the link below that may help you solve this particular problem.
http://www.wirelessforums.org/alt-cellular-nokia/nokia-sdk-linux-8895.html

Related

How do I check a clients Java Version?

I want to create an Executable Jar file that when run, checks the currently installed version of Java on that computer and displays it for the user. I have searched online but in vain, I cannot find any code that allows a Jar file to check. I know that the Java website has it ( http://www.java.com/en/download/installed.jsp) I can't find a way to replicate it in Java Code. Any help would be very much appreciated.
Note: Sorry if this question is really stupid and has a really simple answer... I just spent half an hour trying to find a solution and I couldn't so I need your help! Thanks
Edit: I don't need the code for displaying it, just to get the version is enough for me thanks!
System.getProperty("java.version");
Calling System.getProperty("java.version"); will give you version of the installed JRE which is what you want. Also take a look at other System properties, you may find some of them also useful.

WindowsBuilder is not working on Eclipse

This is Anas here and I just wonder if one can share his though about windowsbuilder on eclipse. I installed it from help link through selecting SWT, GWT other plugins and all gone well but after a restart those plugins are not working. Precisely, Eclipse IDE is showing those links enabled but it takes me to interface asking to install some additional toolkits, again when I proceed, I met a repository not found error.
Hunting over web, I have tried -clean and checked my port address. Thanks for your comment!!
Well Anas,
I understood your problem so follow these simple steps to overcome this solutions
First install the Indigo[3.7.2] version Eclipse from this link:
http://download.eclipse.org/releases/indigo
And then go to eclipse--->Help---->InstallNewSoftware and paste the below link>
WindowBuilder[1.6] Pro Update Site - http://dl.google.com/eclipse/inst/d2wbpro/latest/3.7
And select WindowBuilder Specific Checkboxes and proceed accordingly.
After that if you want to do a simple example of using windowBuider
just go through this link it might be helpful for you in this regard:
http://help.eclipse.org/indigo/topic/org.eclipse.wb.doc.user/html/NewComponentsTutorial.pdf
In case still you are facing issues feel free to reach me SUNIL
Check over here for available WindowsBuilder versions:
https://www.eclipse.org/windowbuilder/download.php
Take a link, and pass it on Eclipse IDE's feature installer, which takes the URI. Aim for the version of the builder which is supported by that IDE version.
If you take the latest version of WindowsBuilder, it does not mean that the specific IDE does support it.
Best regards

How to use FreeTTS in IntelliJ IDEA

I need to use FreeTTS in a Java program. It's a really small application that just speaks out a certain text that was typed in by the user. I have no idea how to get this work though... I have downloaded the .zip from the FreeTTS site ( http://freetts.sourceforge.net/docs/index.php ), but how should I proceed to get it to work? As IDE I use IntelliJ IDEA. Could someone help me get to how to use it? I've never really manually added something to use in applications, I wonder, when it's added, how it can be used in a program (via import?). I hope someone can help me here, thanks in advance.
Extra info: I'm using a Mac.

I need to import my apk into eclipse - possible?

I am an app developer, and I recently had to re-install windows, so I lost all of my app data :(
I have the apps on the market, so can get the APK's, but my question is:
Can I decompile them back into eclipse, or will I have to re-make them from scratch?
Thanks for your answers, Liam
Unfortunately, there's not any way to get your source code back from just an apk.
I highly recommend in the future using a source control management system (I use git) and back up online (I use bitbucket).
I doubt very much the APK contain your source, unless you configure your build to include them. So no, you can decompile each class and reconstruct some of the code, but chances are, u have to rebuild from scratch.

Eclipse and JavaFX? is it just me?

I'm looking at learning JavaFX.
I've tried setting Eclipse to develop a small app and I've downloaded the Eclipse plugin.
Eclipse JavaFX plugin
BUT... it just seems, well, flakey.
So I have 3 questions...
1: Is there a better plugin?
2: Or is there some great set of tutorials out there that I'm missing?
3: finally, is it meant to be easy to call Java code from FX? I'm stuggling, it there a good example somewhere?
On questions 1 & 2, Eclipse underlines code in red that just shouln't be. For example..
see this image... alt text http://www.qenet.co.uk/fx.jpg
Why does it underline bit of imports in red?
I know this is little of an open ended question. So I guess my main question is this...
Is my experiance of JavaFX and Eclipse the best I can hope for? Or am I missing something ?
(and I'm not looking for a Yes/No response) :-)
Just looking for a discussion on how best to learn/develop JavaFx.
This kind of thing is not unusual. A lot of Eclipse plugin editors have problems dealing with error tags and the like. For example,
I find that the XML and HTML file editors often fail to clear error and warning markers, and the only way to get rid of the markers it is close and reopen the file.
Even the Java viewer gets it wrong in some circumstances, though the problem goes away when the relevant files are saved.
When you update a spelling dictionary, the spelling checker is not rerun and the spelling error markers are not updated. In fact, you have to restart Eclipse for this to happen.
I suggest that you try saving files, and closing/reopening editors to see if that makes the bogus error markers go away. Then decide whether Eclipse is the right IDE for this task.
I've never used NetBeans (at all), but you would expect that it would do a better job supporting JavaFX. After all NetBeans and JavaFX are both high profile Sun products at the moment.
Netbeans is really the only way to go at the moment for JavaFX development. They are both Sun products and Sun has made sure the two work very well together. Before long Eclipse and others will catch up but for the moment that's how it is.
There is another JavaFX plug-in for Eclipse from Exadel. You can download it here: http://exadel.org/javafxplugin. Give it a try.
I have similar problems but funnily only under Linux, not Windows. Hope they change that soon.
To me this has happened when I wronlgy installed javafx sdk 1.2.3....This plugin works only with 1.2.1... :/

Categories