Using multiple JDKs and JREs with Astolfo


Ceriii
 Share

Recommended Posts

Greetings fellow ASTOLFO user,

I am making this step by step guide for people that are depending on multiple JDKs and JREs, be it for other clients or applications. I have personally had this problem and it was really annoying to solve, so that's why I am sharing it!

First step:

Install all desired JDKs and JREs (including the one you need for Astolfo:  https://www.java.com/en/download/manual.jsp  the offline version)

Second Step, I believe:  

Set the system variables:

(Not sure if this step is needed but try first without this, if it doen't work without this then do it lol)

Search for this:

1031814282_sysvariablen.png.196b6174912ae9b96184bf117a15e448.png

Go to Environment Variables

ddodoo.png.c91bd0e8d8979e4353c4bc25d0e3ce36.png

Click new

90411331_step1home.png.d8ae066babbceb1ad6dbbba6f3bf68ac.png

 

Set the Variable name to JAVA_HOME (IMPORTANT: all caps)

and Variable value to where your jdk/jre is! (In my case: C:\Program Files (x86)\Java\jre1.8.0_341)

If you want to use Astolfo put on the one you downloaded from the forum, if you want to use a program/client that is dependend on another jdk/jre change it to the jdk/jre to the one it needs.

1817433378_homeset.png.108f3955bda515aead4339ede7b5c3af.png

 

Then go to Path, click it once so it becomes blue, then click Edit

1080524510_clickpath.png.d345665e6e4e30ef1a7aade3eee49d0a.pngnext to click is supossed to be a 1 (as in first step xd)

 

Click New

500300562_clicknewpath.png.bd92426db2733c4d847f0b91c9286d8e.png

and type in %JAVA_HOME%\bin

IMPORTANT: Click MOVE UP until it is on the top of the list

Do this if you understand this:

[It has to be at least on top of the oracle paths and/or others, such as adoptium so they don't overtake priority and make it use another jdk/jre because it has bigger priority in the Path (the one in the black box for example)]

 If you didn't understand, do this (aka. for idiots xD):

Always have %JAVA_HOME%\bin at the top of the list, check up on it every time you install a new jdk/jre and move it to the top if it's not anymore there!

1280627156_javabinhomepriority.png.c533537dcb0c892426e7092f5f4178f1.png

Click Ok, Ok again and Ok once again, so it closes the Edit Environment Variables and Applies them (lol).

Now go into cmd and run:

java -version

and check up if it's the right java version you need!

If it isn't you did something wrong in these steps!

 

Third Step:

Go into Astolfo, Login and click the Astolfo Logo located in the top left corner. Then click: Set javaw.exe Path

Find your Path to the given JDK from the forums, double click into it, then go to bin and then search javaw.exe and select it. In my case it's in:

C:\Program Files (x86)\Java\jre1.8.0_341\bin\javaw.exe

It should normally install here, but if it's not in here, you need to search for it where it installed it. Normally this happens when you manually selected another place to install it.

Then click Back

(Yes , yes my coloring is very trippy and shitty ik, ik :C)

Now start and enjoy, if you have problems comment on this post and I'll try my best to help you out. I can't guarantee that this will work for you, it worked for me so that's why I am sharing it!

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share