I have a java server running car pool services on an EC2. I am using Flurry on my Android and iOS apps, but I could not find a way to run Flurry on the java server. All questions on stackoverflow for this particular case, have been answered for Android (I wonder why).
Has anyone tried to run flurry on their java server, or Java EE or ASP.NET?
This isn't supported at all. It would be very difficult to run the Android SDK with a Java server-side app since it depends on the Android libraries.
Related
I am running a Java web app in a VM in Azure. I set up successfully Application Insights for it, and now I am interested to see full call stacks when my web app receives a request, similar to what their docs show here for a .NET app.
Is this possible for a Java webapp, the instructions here seem too generic to be true?
#lcfd We currently have a Java profiler in private preview (part of Application Insights experience). The only supported platform at the moment is for VMs though we have a way to enable it for Web Apps as well (just not fully supported and tested). Also, since it is in private preview, we do not recommend that you run this is your production environments.
With all that said, if you are still interested, we can help onboard you. Please send a mail to AzCommunity[at]microsoft[dot]com with your subscription ID and a link to this issue.
I have built my google app engine app using version 1.8.8 but the production server hosted by google uses 1.9.11. I think this may be causing problems within my app since my app works locally but not on the production server. Is there anyway to change the version of the sdk that the production server uses? I can't seem to find any documentation on this.
No, you cannot define specifically which version of the SDK will run on the production servers. Typically, they run on the latest available SDK. If you are certain the that problems are caused due to the different versions of the SDK, I would propose to update your code accordingly.
I want to run a Java application on Android. It does not have a user interface and embeds Jetty as a servlet containr. It implements a web application that is normally accessed online by its users but I need to run this offline on Android tablets.
Is this at all possible? All I have been able to find is information on how to develop Android apps. I simply want the equivalent of java -jar ... and any information would be welcome.
There is no equivalent of this in Android. Android uses a DVM instead of a normal JVM, which is based on Apache Harmony.
You would in any case need to recompile the application since the DVM only executes Dalvik-Bytecode which is created from normal Java-Bytecode by the dx-tool shipped with the Android SDK.
Also, why do you need to run a Server-Application on a tablet device?
You can't normally just run Java code, Android devices don't even have a Java VM. You have to recompile your application and convert it to dex, which is used by Dalvik VM. Whether it is easy to do so or not, depends, of course, on the APIs you use, since Android only has a subset of Java SE APIs.
try GNURoot app (proot ptrace container) with debian Wheezy;
apt-get update
apt-get install openjdk-7-jre
/usr/lib/jvm/java-7-openjdk-armel/jre/bin/java ...
(including long path)
I have been tasked to develop a mobile application with java technology. So i went to oracle's website to download the toolkit, then i figured out that Java ME SDK 3.0 is only available on windows and mac.
Now my question is, does it mean that Linux users can't development Java Me applications since the development kit is only available to Windows and Mac users alone?
If a Linux user wants to develop a Java ME application, how would he go about it ?
The last Java ME SDK I successfully used on linux was the Sun Java Wireless Toolkit 2.5.2. Found here. I'm not sure what is holding up 3.0, but if 2.5.2 doesn't pan out, I'd try the Android SDK (Note on the Android SDK: It wouldn't be a Java ME application, but it would be a mobile application using java technology).
I hope this helps.
As Beanz said, 2.5.2 is fine. You can download the Eclipse mobile package which has everything. Also check out LWUIT - a fantastic UI toolkit for J2ME (also supported and provided by Oracle/Sun).
Find eclipse pulsar (for mobile developing) and import the library LWUIT. See the manual:
http://jimmod.com/blog/2010/04/basic-lwuit-tutorial-with-eclipse-pulsar/
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?
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.
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.
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.
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.
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