Skip to content

How do I update java version from a revision

Featured Replies

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.

Usually, updating it on the IDE you are using, updating the libraries your project comes with will do.

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?

  • Author
On 8/5/2022 at 1:57 AM, Zake said:

Which ide do you use?

Eclipse

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

  • Author
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:

Sem título.png

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:

Sem título.png

Does your project have any errors with the new JRE?

  • Author
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.

 

cKbdX6.png

 

 

 

There's something wrong that's not right!

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.

 

cKbdX6.png

 

 

 

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

  • Author
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?

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.