VegaBoy Posted August 3, 2022 Posted August 3, 2022 How do I update java version from a revision. Currently the one I have is java 8 and I would like to update it to java 11 or newer. Quote
0 HyperBlown Posted August 4, 2022 Posted August 4, 2022 Usually, updating it on the IDE you are using, updating the libraries your project comes with will do. Quote
0 Zake Posted August 5, 2022 Posted August 5, 2022 On 8/3/2022 at 9:09 PM, VegaBoy said: How do I update java version from a revision. Currently the one I have is java 8 and I would like to update it to java 11 or newer. Which ide do you use? Quote
0 VegaBoy Posted August 10, 2022 Author Posted August 10, 2022 On 8/5/2022 at 1:57 AM, Zake said: Which ide do you use? Eclipse Quote
0 Zake Posted August 10, 2022 Posted August 10, 2022 13 hours ago, VegaBoy said: Eclipse First you need to add a JRE to eclipse (Window -> Preferences -> Java -> Installed JREs -> Add) Then right click on your project -> Properties -> Java Build Path -> Libraries -> double click on the current JRE library -> Alternate JRE (and select the one that you have added above) If you have already compiled the pack with another java version you will probably have to do a few more steps. -Click on your project on package explorer. -Go to the top left and find Source -> Clean up -Right click on build.xml -> run as -> External Tools Configurations -> JRE -> Separate JRE -> select the one that you want to use -> Apply -> Run Quote
0 VegaBoy Posted August 12, 2022 Author Posted August 12, 2022 On 8/10/2022 at 12:04 PM, Zake said: First you need to add a JRE to eclipse (Window -> Preferences -> Java -> Installed JREs -> Add) Then right click on your project -> Properties -> Java Build Path -> Libraries -> double click on the current JRE library -> Alternate JRE (and select the one that you have added above) If you have already compiled the pack with another java version you will probably have to do a few more steps. -Click on your project on package explorer. -Go to the top left and find Source -> Clean up -Right click on build.xml -> run as -> External Tools Configurations -> JRE -> Separate JRE -> select the one that you want to use -> Apply -> Run Thanks for the answer. I'll test it today when I get home. I was on a work trip and I'm arriving today! Thank you one more time! this message appears: Quote
0 Zake Posted August 13, 2022 Posted August 13, 2022 16 hours ago, VegaBoy said: Thanks for the answer. I'll test it today when I get home. I was on a work trip and I'm arriving today! Thank you one more time! this message appears: Does your project have any errors with the new JRE? Quote
0 VegaBoy Posted August 13, 2022 Author Posted August 13, 2022 14 hours ago, Zake said: Does your project have any errors with the new JRE? Yea! This is the image where the errors are. https://imagizer.imageshack.com/img924/3892/KOoUnP.png Compiling without error in the eclipse console, but in the gameserver it prints me Several errors related to the quest scripts. There's something wrong that's not right! Quote
0 Zake Posted August 14, 2022 Posted August 14, 2022 10 hours ago, VegaBoy said: Yea! This is the image where the errors are. https://imagizer.imageshack.com/img924/3892/KOoUnP.png Compiling without error in the eclipse console, but in the gameserver it prints me Several errors related to the quest scripts. There's something wrong that's not right! https://prnt.sc/tg0fX6_DFd1q this means that your project has errors, you have to fix them first Quote
0 VegaBoy Posted August 14, 2022 Author Posted August 14, 2022 5 hours ago, Zake said: https://prnt.sc/tg0fX6_DFd1q this means that your project has errors, you have to fix them first Before I tried to move to java 11 I didn't have any errors, the errors appear when I move to java 11. So should I still correct these errors before trying to run the gameserver? Quote
0 Zake Posted August 14, 2022 Posted August 14, 2022 3 hours ago, VegaBoy said: Before I tried to move to java 11 I didn't have any errors, the errors appear when I move to java 11. So should I still correct these errors before trying to run the gameserver? Yea you should Quote
Question
VegaBoy
How do I update java version from a revision. Currently the one I have is java 8 and I would like to update it to java 11 or newer.
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.