I have a largish app in Java to port over to j2me and it's proving quite tedious.
The target java (1.3 I believe) is making porting this over to j2me very difficult.
I'm working in Netbeans and I was wondering if there was a way to change the target java to a higher one to avoid reprogramming tons of classes to comply with 1.3 and if I did change it could I expect it to run on any device?
I've looked around on my IDE and can't find an option to change the target.
It is not possible to change the java target of a Java ME app, so you will have to use only what its available from CLDC, but you can try The J2ME Polish Client Framework http://www.enough.de/javadoc/j2me/index.html
Take a look at de.enough.polish.util package.
Related
I am using Ubuntu on my computer, and I do not want to switch to another operating system.
I'm looking for a software that would let me program cross platform apps (for smartphones) with one programming language.
I would prefer a .NET language. Yes, I have looked at Mono, but they only offer their software in Windows and Mac.
Is there a software that would let me build a cross platform app? (I don't like Java, but JavaScript is one that I can handle)
MONO is available for more than both Mac and Windows. It runs in Ubuntu and instructions can be obtained from here.
iOS apps can unfortunately not be built without xcode, but the coding can easily be reused between Ubuntu and Mac. One software to checkout is Xamarin which allows you to use c# to develop iPhone and Android apps. I've been coding in .Net for a while, and I have to say that when I had to do a unix class project, MONO and Xamarin saved my life
Note: I know that your question specifically said you don't like the idea of switching platforms like you would need to in MONO, but I've done a lot of research on this and I've determined it to be my best option, I'd think it'll work for you if you're willing to use a Mac or PC
I'm looking for a software that would let me program cross platform apps (for smartphones) with one programming language.
If you are looking for some tools for developing cross platform apps for smartphones, I suggest you PhoneGap
Is there a software that would let me build a cross platform app? (I don't like Java, but JavaScript is one that I can handle)
You are using ubuntu and want to use .Net, No this is not a convenient solution. If you want a platform independent language, I absolutely suggest you, JAVA ;)
Please notice that:
Java IS NOT JavaScript and they are not related to each other.
I had the same question. I did come across Appcelerator. It seems that they supported Linux previously and the single language you can write in is Javascript.
It's not opensource. You have to make an account to download and install it, but there's free versions for solo developers. I'd rather use Kivy to develop in Python though ;)
Good luck.
Sorry if this has been asked before, I searched but couldn't find anything.
I'm a novice (like, just now moving on to true object-oriented programming) Java programmer taking AP Computer Science online. Outside of class, I've been working on some programs for personal use. One program that I'd like to write needs some third-party APIs, notably Apache Commons. I'd also like to have Google's Guava API available, among others. The only problem is, I have no idea how to make the APIs available to my IDE. I'm still trying to decide on an IDE, so I'd like to make the APIs available system-wide if possible, but at minimum I need compatibility with IntelliJ IDEA 9 CE. I'm on Mac OSX, but I sometimes have to work on a Windows PC.
You need to download the necessary JARs and then in NetBeans, I believe there is a "Libraries" or "Classpath" menu option somewhere toward the end. Thats where you'll need to add the libraries you plan on using by referencing any JARs you've downloaded.
You can see it here from their website
I am new to the world of Java and web programming. Never wrote a single line of javascript and my knowledge of HTML is pretty basic. Although, I am very experienced with .NET, so I guess transition to Java should not be a revolution.
Anyway, I wish to learn GWT and for that I want to work on Eclipse (I have Mac at home, so no Visual Studio).
Now, there are a dozen different download flavors of Eclipse, so my question is - which one best suits my needs?
Thanks.
P.S.
This is probably not a factor in the decision, but I will need Visual Studio keyboard bindings. I want to believe that no matter which flavor I install, I will be able to change the keyboard bindings later.
You should be fine with any version of Eclipse. Eclipse is extremely modular so it's only really a case of ensuring you have the correct plugins installed.
I'd recommend:
Start with the Eclipse IDE for Java Developers as a base install. This has everything you need for Java (i.e. the Java Development Tools, stndard editor features, source code control etc.)
Then install the GWT plugin for Eclipse
After that you should be good to go. If you find you need more plugins later, you can easily add them.
I also know both .NET and Java, and you should not have have much difficulty making the transition - it's really just a case of learning a few slightly different conventions, APIs and ways of doing things.
With regards to the keyboard bindings, I've never really changed from the default settings myself but they are completely customizable so I'm sure you can get it set up how you want. You might want to look at the answers to this question, which give you a few options (apparently you can download the full set of bindings, or install the C++ plugin which includes them).
I would probably start by installing Eclipse for Java EE developers and then the GWT plugin. It will cause less dependencies to be installed and you will get some things installed that you will probably want to start using later. But regardless of whether you are using that or the Java developer-version you should not have any major problems.
Considering that I'll be using Vim as my text editor of choice, what tools do I have to consider to manage and build a project of this magnitude?
I'm told that Apache Ant is similar to GNU Make so that part is covered so far. But what about UI design, is there a stand alone UI designer, I mean, something that doesn't need Eclipse installed.
Update: Is there any how-to floating around for Blackberry development, like these ones for Android?
Android's development without Eclipse
Android's development guide for Non-Eclipse IDEs
Well. you'll need the simulator at a bare minimum, which you can download from the blackberry website. You will also need to download the SDK for the minimum OS you want to support. You will also need BB-Ant-tools.jar to be able to do ant builds properly.
Is it sane? Honestly No, it isnt. You´ll get lots of headaches.
With blackberry sometimes even the Recommended way of doing things fail, and trying to avoid using the tools that work best for the task is gonna get it even harder.
Writing Java without a Java aware IDE is torture. But if you're already comfortable writing Java code in vim, then you should be fine. There is no designer for BlackBerry -- we're all in the same boat on that aspect.
You may or may not find this relevant
Tips for using Vim as a Java IDE?
I have a java project which I'm hoping to package and sell. How can I create a .msi file which will install my program on other windows computers?
If there are any tutorials, please direct me to them. I'm also using Eclipse if that has any bearing on how to create the .msi file.
Thanks
I've been using WiX extensively for creating MSI packages. It has quite a steep learning curve, but once you know what you're doing, it is very powerful. You said earlier that it needs Visual Studio installed, but I think it's just .NET 3.0, not the whole IDE.
I used this WiX tutorial when I got started, and it's got pretty much everything you need in there if you want to go down this route.
If you're after something simple, search for a tool called WixEdit on SourceForge. This has a GUI for building MSIs - it's not perfect, but pretty easy to use and produces professional results.
I'll repeat, WiX has a very steep learning curve, and if you're just after a simple way to package your application, NSIS might be easier; or, you could use the standard IExpress.exe tool built into Windows to create a self-extracting .exe (but they don't "feel" as good as an MSI).
There's nothing special about Java apps when it comes to creating MSI's other then you have to make sure you have a JVM/JRE installed just like you have to make sure the .NET framework is installed for .NET applications.
Your question is too broad to be able to answer. Implicit in your question is "What tool should I use?" and once that's decided "How do I make an MSI using this tool?"
For the first question, check out:
Windows Installer Authoring Tools for Developers
Use NSIS: http://nsis.sourceforge.net/Main_Page . It creates executable file that will do the same thing, and it is free.
If you specifically want to create an MSI package, and assuming you don't want to pay for something like InstallShield, look at Wix. http://wix.sourceforge.net/
I believe you want to look at Native Packaging, which according to this link was first introduced with JavaFX 2.2
https://netbeans.org/kb/docs/java/native_pkg.html
Since it seems to be official Netbeans docs, I imagine it is sanctioned by Oracle. Here is the counterpart for Mac for interested readers.
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/packagingAppsForMac.html