Programming Kinect using Java on Win 7 64 - java

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.

Related

JavaFx won't download on my MacBook Pro for Eclipse Oxygen

I have an assignment for my school that I have to submit that needs you to create a Java application that involves recursion, file read, and javaFx. I have a 15 inch MacBook Pro with an i7 processor. When I try to use JavaFx in a class in Java, I always get errors saying that javaFx.application.Application or javaFx.scene.Scene cannot be applied to a type. Basically, my Java oxygen application cannot run javaFx. I've tried multiple YouTube videos on how to download plugins from oracle and the Java oxygen marketplace. I told my instructor and he hasn't gotten back to me yet. Everytime I download a possible plugin like e(fx)clipse/2.0.0/ (or something like that), Java oxygen sends a message that it cannot complete the operation because new software has already been installed. I kept searching oracle for the latest JDK but javaFx still won't download. I was just wondering if it had to do with me having an Apple and not Windows computer or is there something else I can try. Thanks for your help!
Just go here and download the Mac version of the JDK and install it.
http://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html
That is all which is technically needed to run a JavaFX application. You should also download and install the latest version of Eclipse (Photon) because it fixes some problems with the latest Java.
http://www.eclipse.org/downloads/index-developer.php
If you like you can also install e(fx)clipse from the marketplace but it is not needed to write JavaFX applications.

Install Java to Android machine

I recently put Android on my Windows laptop. I want to run Selenium-Webdriver for automation and development. I need Java for Selenium to run this on my Android machine.
This is my first time ever (obviously) putting Android on a laptop and was wondering how to put JDK on it.
I have tried researching this and have had no luck.
Note: I have Termux - so I was able to install everything from NodeJS, Protractor, Selenium, etc.
I tried installing GNURoot Debian as suggested and the application is launching with an error. I have researched the issue and no luck.
Also, the APK file that was in the Stack Overflow answer was invalid.

How to run Java3D on RPi 2

I recently got a Raspberry Pi 2 and have been trying to get a program using Java/Java 3D that I've used before on the previous Model B to run on it.
The Pi is running Raspbian, and I've installed the libjava3d-java and libjava3d-jni packages.
I've copied the following files into a lib folder:
j3dcore.jar
j3dutils.jar
vecmath.jar
libj3dcore-ogl.so
I've then included -Djava.library.path="lib/*" in the command I use to run my program, but I'm getting an UnsatisfiedLinkError: no J3D in java.library.path
Could there be any other files that I need? Might I have an incorrect version of the native libraries? All the files I've put in the lib folder are ones that I've found in the system as installed by the package manager.
Thanks for reading
I assume that you're trying to install an obsolete version of Java3D (1.5.2 or earlier). Please follow these instructions to download and install Java3D 1.6.0.
Java3D uses the fixed pipeline, it is designed to use OpenGL whereas the Raspberry Pi supports OpenGL ES. Java3D 1.6.0 uses mostly the same public API than Java3D 1.5.2 and we have done no change to make it work with OpenGL ES. It has a very few chances to work as is on your device.
Rather use JMonkeyEngine 3, LibGDX or JogAmp's Ardor3D Continuation with its JOGL renderer. The two first ones work with the Raspberry Pi for sure, the last one still needs some work.
Edit.: You have a chance to make it work with Eric Anholt's driver, it already works with Processing 3 on a Raspberry Pi 2: http://labb.zafena.se/?p=972

JNI for java using eclipse in ubuntu

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.

Developing CLDC or J2ME applications under Mac OSX?

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!

Categories

Resources