views:

426

answers:

6

Is it possible to develop java me applications on linux? It appears that there is no linux version of the sdk. Otherwise what would you suggest as a good language to develop mobile applications?

A: 

I was able to install (an earlier version of) the SDK on a Windows machine and then copy the relevant libraries to my Linux development environment. I wish sun would provide the all the JDKs in zip/tar format. I hate having to INSTALL software just to get .jar files out of an archive. I should note that the SDK includes a mobile device emulator that doesn't work under Linux but you just need the .jars to compile code.

Chris Nava
A: 

Otherwise what would you suggest as a good language to develop mobile applications?

Well, you can still use the Java lang. But maybe develop some Android apps.

Johan
+1  A: 

Use the 2.5.2 SDK. It works pretty well under Linux, actually.

I'd also second the recommendation for Android, where Linux is definitely not a second-class citizen.

David N. Welton
A: 

The Sun Java Wireless Toolkit 2.5.2 runs under Unbuntu 6.x, more details here: http://java.sun.com/products/sjwtoolkit/download.html

We use WinXP for J2ME and Ubuntu for Android. Though that's more down to the preference of the coders than any limitiations.

Wex
A: 

virtual box can be a great help here, for OSX and Linux users, unfortunately most of the emulators and sdks, in particular the preverifiers are geared for Windows first, a prime example being Blackberry

Our flow tends to be to develop the bulk of the application in the std wtk environment, then do the final porting and tweaking under a virtualised Windows environment

kgutteridge
A: 

Can any one help me plzzz.....

java.lang.UnsatisfiedLinkError: /Users/Fard/WTK2.5.2/bin/sublime.so: no suitable image found. Did find: /Users/Fard/WTK2.5.2/bin/sublime.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x01 0x01 0x01 0x00 at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1824) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1704) at java.lang.Runtime.load0(Runtime.java:769) at java.lang.System.load(System.java:968) at com.sun.kvem.Sublime.(Sublime.java:29) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:501) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at com.sun.kvem.Lime.createLime(Lime.java:40) at com.sun.kvem.KVMBridge.(KVMBridge.java:46) at com.sun.kvem.KVMBridge.getBridge(KVMBridge.java:37) at com.sun.kvem.midp.MIDP.run(MIDP.java:699) at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(EmulatorInvoker.java:107) at com.sun.kvem.environment.EmulatorInvoker.main(EmulatorInvoker.java:135) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at com.sun.kvem.environment.JVM.main(JVM.java:103)

Fard