Can anybody help me find a tutorial on creating JNI applications using eclipse on the ubuntu platform?
I am finding tutorials for the windows platform, but not for Ubuntu or Linux system.
look to JNA. It is easier. No boilerplate or generated glue code is required.
Related
I have Kinect for xbox. I have installed Kinect SDK.
I am trying to program Kinect using Java in Eclispe IDE. I have tried several tutorials. I have installed:
openni-win64-1.5.4.0-dev.msi
nite-win64-1.5.2.21-dev.msi
SensorKinect092-Bin64-v5.1.2.1.msi
sensor-win64-5.1.2.1-redist.msi
and it didn't work, when I run NiSimpleRead it open and then close immediately.
also I have tried to install all above but win32 and it also didn't work.
I have installed ZigFuOpenNI.exe and the problem still exists.
I have tried the tutorial installation of J4K library using the instructions in this site:
http://research.dwi.ufl.edu/ufdw/j4k/eclipse.php
and also it is not working it seems that there is problem with jogl and gluegen-rt native libraries because when I open the folders in the Package Explorer they are empty, but I am following the instructions correctly.
In my case, Kinect only works with Processing 2.2.1. I have tried the examples in this program using SimpleOpenNI and it works.
My question is how can I connect Kinect to Java in Eclipse.
I would be very much appreciated for helping me.
I am using Ubuntu and I would like to know the basic tools to install so I can begin develop in java.
With 'minimal' I mean the most transparent way without fancy tools and stacks etc. Like for minimal C programming you just write code and run 'gcc file.c -o myapp'.
Thank you
Just download JDK.
Minimal tools are javac for compiling and java for executing JVM. Both are in bin directory.
You need to install JDK to start with hello world
Eclipse IDE. It's probably the most comprehensive Java IDE. I understand that isn't what you're looking for but light, simple ones like JCreator are not free to use. I don't see the sense in developing without an IDE of any kind.
Install the JDK. An IDE is a minimal requirement for development in Java. Not all developers would agree, but IMHO its the most productive way to develop in Java. I suggest IntelliJ CE which is free.
I want to know the required software which is needed for J2ME programs
I am having the JDK 1.6.0
I do not want to use an IDE at this moment.
Now you need to install the J2ME Wireless Toolkit,
Have a look at this tutorial : J2ME Tutorial
If you don't want to go with the IDE then you only need mobile sdk from oracle for compiling your midlets avaliable here: http://www.oracle.com/technetwork/java/javame/javamobile/download/overview/index.html
I would strongly encourage you to switch into IDE like Netbeans for J2ME as it would get much easier for you to run/test and deploy your mobile applications
J2SDK1.6.0
Eclipse 3.7: one of the best Java IDE ;-)
J2ME Wireless toolkit 2.5
EclipseME 1.7: Eclipse plugin to help develop J2ME code
ProGuard 4.7: class file shrinker and obfuscator.
everyone! I have faced a problem, hope you can help me.
We have developed a project on linux platform by JAVA, and a DLL file provides some useful API which can improve the speed of development. I want to use the API in the project. How to embed the DLL file into the project? Anyone could provide a solution? Thank you very much!
DLL's are Windows only shared libraries.
You will have to port the DLL to Linux before you can use it
I have noticed that Oracle now has released a Java Platform Micro Edition SDK for OSX. It works, it can compile the provided examples and the included phone emulator works too. But how do I compile my own J2ME project from Ant or Eclipse?
There are a lot of related jars but they are all inside the ".app" in the /Applications directory. Eclipse does not like it when I put a toolchain path to inside the ".app".
Have you tried using the EclipseME plugin? It helps integrate JavaME (J2ME) development into Eclipse. Here's a guide for getting it working with Eclipse:
Eclipse ME / Configuration
You'll find plenty of documentation and how tos.
If you don't like EclipseME, I personally found Netbeans very good for mobile development:
Netbeans JavaME Page
Also, you weren't specific in your question, but the link you've provided seems to indicate you want to use MTJ. In that case, use this documentation to guide you through:
Eclipse MTJ - Getting Started
If you want to use ANT I have simply copied over the required jars from the Windows SDK and just used the pre verifier and javac from the osx 3.0 sdk, works well!