Windows setting up issues and version control

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Windows setting up issues and version control

erase99
Dear members,

I have been trying to set up Jogl and struggling with that. I think gluegen is a dependency of it.

The guide here does not work on Windows since rt.jar is not used in Windows as explained here.

Therefore, when I reach the "Build the source tree" part, I am trying to use the ant code in the first link above, It gives the following error: "target 1.8 does not exist in the project"

The releases I found as ".jar" files were quite old(from 2015) and they have lots of issues. I need the runtime codes, the source codes, and the Javadocs. I want to set up Jogl and start from scratch. Could you please guide me about how to install it on Windows? Is there a working guide?

Kind Regards
Reply | Threaded
Open this post in threaded view
|

Re: Windows setting up issues and version control

Martin
I remember I have been able to build with JDK 11 by linking to rt.jar from JDK 8.

However there are precompiled releases and Sven is currently working on a new one. Do you encounter any limitation with these builds?
Reply | Threaded
Open this post in threaded view
|

Re: Windows setting up issues and version control

gouessej
Administrator
In reply to this post by erase99
Why not taking the JogAmp fat JAR as is? There are more recent releases here:
https://jogamp.org/deployment/archive/rc/
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Windows setting up issues and version control

erase99
I couldn't understand the structure of that place as well. You are right, I may get the .jar files there but what about their source codes and javadocs? I also need them.
Reply | Threaded
Open this post in threaded view
|

Re: Windows setting up issues and version control

Sven Gothel
Administrator
to build the beast - besides the updated HowToBuild docs,
you may find the build scripts useful.

they are located in <project>/make/scripts,
 - make*.sh for unixoids
 - make*.bat for windows, e.g. jogl/make/scripts/make.jogl.all.win64.bat
  - all under C:\JogAmp w/ same setting like c:\jdk-17 etc

Steps, as I do it:
- build gluegen
- build joal
- build jogl

done, at least how I did it.

Yes, you have to grab a JDK 1.8 rt.jar and place it where referenced
(or change the reference), e.g. for Windows:
  set TARGET_RT_JAR=C:\jre1.8.0_212\lib\rt.jar

Hope that helps.

~Sven


Reply | Threaded
Open this post in threaded view
|

Re: Windows setting up issues and version control

Sven Gothel
Administrator
In reply to this post by erase99
the last RC https://jogamp.org/deployment/archive/rc/v2.4.0-rc-20210111/
.. you just press 'Last modified' to sort by date on the parent to see the last one.

In this specific build release folder, you can see the mighty fat jar w/ a source zip.

~Sven