senderj wrote:I am new to Pi (not own one yet), have brief experience on Linux, Python and C, and much on Java with NetBeans and Eclipse. I am thinking of an application that use Pi to display images on a screen and rotate them after an interval.
Mine is a graphic app so graphic library is a must (Pi didn't come with any ??).
From Pi spec, the GPU support OpenGL ES, I don't know does it means there is an Open GL ES library that comes with the Pi.
Since you know Java much, why not use Java8's nice new JavaFX API to do your 2D graphics? On desktop PCs the JavaFX API uses OpenGL to render 2D and 3D graphics, and on the smaller devices like the PI it uses OpenGL-ES to render them, so indeed even hardware accleration on our little Pi1
with its Videocore GPU.
The JavaFX graphics API is very similar to Java2D API, so in case you know your Graphics2D etc you would see results in no time. No need to use the low-level OpenGL API at all; it's all wrapped with the high-level FX API. (I'm not saying OpenGL bare metal isn't fun, it is, but for faster results use a high-level API.)
Raspbian comes with Java8 which includes JavaFX. Only if you would manually download newer JDKs for the ARM the FX libs are missing
, but you could either stay with the current Raspbian's JDK (1.8.0 or 1.8.0_06) and bundle it or its JRE with your application, or add OpenJFX to JDK1.8.0_33+ like Ltorok mentions in the other thread.
Here's the JavaFX API tutorial, and good luck with your project:
http://docs.oracle.com/javase/8/javase- ... logies.htm
For smaller projects you can even develop on the Pi1 with a lightweight Java IDE like BlueJ. If you need a full blown IDE like Eclipse or Netbeans, you would probably need a Pi2 (haven't tested it yet) or use a desktop PC and remote-run and -debug on the Pi, like it's built-in in Netbeans 8