Jump to content
  • 0

How do I update java version from a revision


Question

10 answers to this question

Recommended Posts

  • 0
Posted
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?

  • 0
Posted
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

  • 0
Posted
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

  • 0
Posted
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?

  • 0
Posted
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!

  • 0
Posted
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

  • 0
Posted
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?

  • 0
Posted
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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..