Jump to content
  • 0

How do I update java version from a revision


VegaBoy
 Share

Question

10 answers to this question

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
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
Answer this question...

×   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



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock