Avatar billede fredand Forsker
03. marts 2016 - 22:26 Der er 1 kommentar og
2 løsninger

Java 3D is it replaced?

Hello guys!

For like ten years ago I got interested in Java 3D.

Yesterday I dusted off an old eclipse project with som Java 3D.
I thought that I could turn it into a maven project but when I started it I remembered that I need to install some 3D-libs since I get:

"no J3D in java.library.path"

However question 1:
Is there any possibility to build this and add all dependencies with maven so I could run "mvn assembly:assembly" to get a portable app that needs no extra installation?

Question 2:
It looks like Java 3D is not included in the SDK. Is it in some way added to the SDK but in some other name like Java FX?

Best regards
Fredrik
Avatar billede Wally73 Mester
03. marts 2016 - 22:46 #1
Ser ud til at det er flyttet ud til et brugerstyret add-on projekt.
https://java3d.java.net/binary-builds.html
Avatar billede arne_v Ekspert
20. marts 2016 - 01:41 #2
Versions up to 1.5.1 is available from Oracle:

http://www.oracle.com/technetwork/articles/javase/index-jsp-138252.html

All recent versions including 1.5.2 not available from Oracle is available from:

https://java3d.java.net/

But you have another problem: Maven support !

Maven central repo only support version 1.3.1:

https://repo1.maven.org/maven2/java3d/j3d-core/1.3.1/

Unless you need a new version then going with 1.3.1 may be th eeasiest.

BTW you are not the only one looking for Maven support:

http://stackoverflow.com/questions/22183839/java3d-maven-repository-for-1-5-2

If this is for new code you could consider going with JavaFX 3D. It is part of Oracle Java.

Some intro here:

http://docs.oracle.com/javase/8/javafx/graphics-tutorial/javafx-3d-graphics.htm
Avatar billede fredand Forsker
02. maj 2016 - 07:17 #3
Hello!

Thanks for your reply and great info!

How ever I found this site:
https://gouessej.wordpress.com/2012/08/01/java-3d-est-de-retour-java-3d-is-back/

I'm not sure that is the same as the following version mentioned at:
https://java3d.java.net/binary-builds-pre.html
...but I guess so.

With the above I managed to install the bins in my own repo and I also could build an executable jar with all dependencies so no extra install was necessary for the user! Just excellent!!

Best regards
Fredrik
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester



IT-JOB

Kalundborg Kommune

Data Scientist / udvikler

Udviklings- og Forenklingsstyrelsen

Udbudsjurist til Danmarks største IT-udbud

De Nationale Geologiske Undersøgelser for Danmark og Grønland (GEUS)

IT-systemadministrator søges til GEUS