I get the following error when trying to run the command 'java -jar Havana-Web.jar'
I have the latest version of java
https://im.ge/i/Captura-de-Tela-831.O850X0
I get the following error when trying to run the command 'java -jar Havana-Web.jar'
I have the latest version of java
https://im.ge/i/Captura-de-Tela-831.O850X0
Your Java literally tells you that it is older than the JDK that the Havana webserver has been compiled with.
This could mean one of two things:
1. You only have an older version of the JDK
2. You have both an older version of the JDK and a newer version, but your windows environment variables* are linked to the older version.
* This is what lets Windows know where to look when you use the command "java" in this case.
If situation 2 is the case, you can do it the elegant way and modify the path to Java in your Java windows environment variable. You can easily google how to do this. You can also do it the quick and dirty way for now, and instead of using the command "java -jar Havana-Web.jar", do something like "c:\Program Files\Java\javaversion\bin\Java -jar Havana-Web.jar". So instead of the command "Java" just directly point to bin/java.exe in your Java directory.
Last edited by deemster; 05-09-22 at 07:42 AM.
I have downloaded xampp 8.1.6 / PHP 8.1.6 because that is the latest version of xampp, and put the tools and www folder in many ways in the htdocs and it doesn't work :/ I have also put them in folders outside the htdocs and I still have the same problem that it doesn't access to the cms
- - - Updated - - -
I don't know what I'm doing wrong xD is not at all similar to installing plus, comet or arcturus x.x
I suggest to keep it simple for yourself and let the Havana webserver serve all web files for you for now. You can worry about Apache (The web server included with XAMPP) later when you want to do the finishing touch on your server and get group badges (both ingame and in the CMS) and the Avatar System (In the CMS) working (Because those need PHP!) Quackster has provided instructions on how to combine both using Virtual Hosts, but that is pretty advanced stuff. So i urge you to stop thinking about the PHP stuff before you get the rest working.
Try to lay aside what you are used to for now, and follow the steps in that little tutorial i wrote on the previous page. I am sure you will get it working!
Last edited by deemster; 05-09-22 at 05:02 PM.
Thanks, I saw that there really was more than one version of java on my computer, I uninstalled it and did a new installation and it was ok.
updated:
I managed to make it run but now when I enter localhost, the images just don't appear ;/
https://ibb.co/37fNsGf
Last edited by Liper; 05-09-22 at 08:33 PM.
The server is trying to connect to the database with the username “havana” and some password. These credentials are not correct, so it gives this error. Both the game and web server will by now have generated config files, you should edit them according to the correct credentials for your database. By default XAMPP’s SQL server has the user “root” with no password at all.
Edit: I see you edited your post and got the servers working. Good! I see the page shows without any stylesheet or images. Did you put the www folder in the tools folder where your server files are located?
Last edited by deemster; 05-09-22 at 08:42 PM.
https://prnt.sc/0VJLYe4G2qD- :D
- - - Updated - - -
teleports dont works/ mountain dew where can i get the poster and the club sofa?
If I already did it, it is that there are missing furnis, I would like to know how I place them or how I get them, they are the mountain dew poster and mountain dew club sofa
- - - Updated - - -
I also have the doubt if the client flash player of the beta version of classichabbo can be placed?
May I ask if where I should change the database connection on both server and web side?
- - - Updated - - -
Got it working but when I click register, it shows the error below
Page not found!
Sorry, but the page you were looking for was not found.
Please use the 'Back' button to get back to where you started.
- - - Updated - - -
This will show on cmd:
Spoiler:
- - - Updated - - -
After few minutes Web shows an error on cmd
Spoiler:
This is what web logs shows
Spoiler:
- - - Updated - - -
Btw I am using this guide from @deemster.
Thank you so much for the help, I finally got it, now it's just joy and fun. =D remembering the old days of habbo
https://uploaddeimagens.com.br/imagens/401DtA4
Edit: Teleports don't really work, I get the same errors quoted by @miggo
Last edited by Liper; 06-09-22 at 07:12 AM.
My hotel statistics dashboard does not present any information, nor can I edit a user within the housekeeping panel. When I click on a username to open the following URL http://localhost/allseeingeye/hk/users/edit?id=2 nothing happens and the dashboard simply refreshes.
Any ideas?
Also, how do I enable the flash client?
Thank you