Custom Client Troubleshooting flowchart.

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Re: Custom Client Troubleshooting flowchart.

Postby Herdo » Sat Aug 06, 2011 9:21 am

Ok, I cannot figure out what is going on here. I downloaded the 64bit client, i extracted it to a specific location and i went as far as to copy and paste the locations of java and the extracted haven.exe file. I still keep getting this error


C:\Users\Andy\Desktop>"C:\Program Files (x86)\Java\jre6\bin\java" -Djava.library
.path="C:\Users\Andy\Documents\My Games\hh-windows-64bit" -Xms256m -Xmx512m -jar
haven.jar sh.seatribe.se
Unable to access jarfile haven.jar

C:\Users\Andy\Desktop>pause
Press any key to continue . . .

I have no idea what is going on. I have checked the permissions on the haven.jar file, and i have checked the paths at least 10 times. What could be wrong?
Herdo
 
Posts: 3
Joined: Sat Aug 06, 2011 8:15 am

Re: Custom Client Troubleshooting flowchart.

Postby Herdo » Sat Aug 06, 2011 9:47 am

I put a space between -Djava.library.path= and "C:\Users\Andy\Documents\My Games\hh-windows-64bit" so now the code reads, ""C:\Program Files (x86)\Java\jre6\bin\java" -Djava.library.path= "C:\Users\Andy\Documents\My Games\hh-windows-64bit" -Xms256m -Xmx512m -jar haven.jar sh.seatribe.se
pause"


Now i get this error,


C:\Users\Andy\Desktop>"C:\Program Files (x86)\Java\jre6\bin\java" -Djava.library
.path= "C:\Users\Andy\Documents\My Games\hh-windows-64bit" -Xms256m -Xmx512m -ja
r haven.jar sh.seatribe.se
Exception in thread "main" java.lang.NoClassDefFoundError: C:\Users\Andy\Documen
ts\My Games\hh-windows-64bit
Caused by: java.lang.ClassNotFoundException: C:\Users\Andy\Documents\My Games\hh
-windows-64bit
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: C:\Users\Andy\Documents\My Games\hh-windows-64bit
. Program will exit.

C:\Users\Andy\Desktop>pause
Press any key to continue . . .


Is this progress or am i going backwards?
Herdo
 
Posts: 3
Joined: Sat Aug 06, 2011 8:15 am

Re: Custom Client Troubleshooting flowchart.

Postby Herdo » Sat Aug 06, 2011 10:30 pm

Ok I got the newest version of java and moved the haven file locations. Now I am getting a new error. Here is the bat file.
Code: Select all
"C:\Program Files\Java\jre7\bin\java" -Djava.library.path="C:\Games\hh-windows-64bit" -Xms256m -Xmx512m -jar haven.jar sh.seatribe.se
pause


Here is the error I am currently getting.


C:\Users\Andy\Desktop>"C:\Program Files\Java\jre7\bin\java" -Djava.library.path=
"C:\Games\hh-windows-64bit" -Xms256m -Xmx512m -jar haven.jar sh.seatribe.se
Error: Unable to access jarfile haven.jar

C:\Users\Andy\Desktop>pause
Press any key to continue . . .

I still can't figure out what the problem is. I had this same problem with my minecraft server but I can't remember how i fixed it.
Herdo
 
Posts: 3
Joined: Sat Aug 06, 2011 8:15 am

Re: Custom Client Troubleshooting flowchart.

Postby Phades » Sun Aug 07, 2011 7:32 am

agentknife wrote:
Phades wrote:Go to java.com and make sure you have the latest java installed. If you do, then change your run.bat from the link I posted to the 64-bit version.



That is the 64 bit version.



Then use the 32bit version.
-Diadems of Odditown
Odditown loves you no matter what.
User avatar
Phades
 
Posts: 352
Joined: Tue Jan 25, 2011 9:07 pm

Re: Custom Client Troubleshooting flowchart.

Postby Phades » Sun Aug 07, 2011 7:36 am

Herdo wrote:Ok I got the newest version of java and moved the haven file locations. Now I am getting a new error. Here is the bat file.
Code: Select all
"C:\Program Files\Java\jre7\bin\java" -Djava.library.path="C:\Games\hh-windows-64bit" -Xms256m -Xmx512m -jar haven.jar sh.seatribe.se
pause


Here is the error I am currently getting.


C:\Users\Andy\Desktop>"C:\Program Files\Java\jre7\bin\java" -Djava.library.path=
"C:\Games\hh-windows-64bit" -Xms256m -Xmx512m -jar haven.jar sh.seatribe.se
Error: Unable to access jarfile haven.jar

C:\Users\Andy\Desktop>pause
Press any key to continue . . .

I still can't figure out what the problem is. I had this same problem with my minecraft server but I can't remember how i fixed it.


Remove the djava part, put the jar files where they extract to automatically--don't move them. And read this post: http://www.havenandhearth.com/forum/viewtopic.php?f=27&t=12278&start=250#p256334
Try both the 32 and 64 bit versions in that post.
-Diadems of Odditown
Odditown loves you no matter what.
User avatar
Phades
 
Posts: 352
Joined: Tue Jan 25, 2011 9:07 pm

Re: Custom Client Troubleshooting flowchart.

Postby Skorm » Sun Aug 07, 2011 6:53 pm

This is where i quote something, but figured is just to muchof a hassel to read it so i'll just post the issue here
System is 64 bits whit java 32(86)

the full .bat
Code: Select all
start "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Djava.library.path="D: \Games\H&H\Ender-64" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res


Posted an attachment whit the Screenshot of p much everything
You do not have the required permissions to view the files attached to this post.
d_datica wrote:Get the damn server back up before I go back to having a life

USER WAS PUT ON PROBATION FOR THIS POST

~art By SacreDoom
User avatar
Skorm
 
Posts: 925
Joined: Wed Mar 03, 2010 6:01 am
Location: on a house, with a computer

Re: Custom Client Troubleshooting flowchart.

Postby agentknife » Sun Aug 07, 2011 8:34 pm

Phades wrote:
agentknife wrote:
Phades wrote:Go to java.com and make sure you have the latest java installed. If you do, then change your run.bat from the link I posted to the 64-bit version.



That is the 64 bit version.



Then use the 32bit version.


Didn't work.
User avatar
agentknife
 
Posts: 84
Joined: Wed Jul 20, 2011 8:22 pm

Re: Custom Client Troubleshooting flowchart.

Postby Phades » Sun Aug 07, 2011 8:50 pm

agentknife wrote:Didn't work.


What was the error both times? Same? Different?

If the error is still "Can't find java" then, verify the directory java is installed in. The drive letter or folder may be different than what is in most computers. You need to locate the actual file java.exe (extensions such as .exe might not be displayed--this is ok)
-Diadems of Odditown
Odditown loves you no matter what.
User avatar
Phades
 
Posts: 352
Joined: Tue Jan 25, 2011 9:07 pm

Re: Custom Client Troubleshooting flowchart.

Postby Phades » Sun Aug 07, 2011 8:52 pm

Skorm wrote:This is where i quote something, but figured is just to muchof a hassel to read it so i'll just post the issue here
System is 64 bits whit java 32(86)

the full .bat
Code: Select all
start "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Djava.library.path="D: \Games\H&H\Ender-64" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res


Posted an attachment whit the Screenshot of p much everything


Remove the extra space after 'D:' and remove the word start
-Diadems of Odditown
Odditown loves you no matter what.
User avatar
Phades
 
Posts: 352
Joined: Tue Jan 25, 2011 9:07 pm

Re: Custom Client Troubleshooting flowchart.

Postby Skorm » Mon Aug 08, 2011 12:05 am

Phades wrote:
Remove the extra space after 'D:' and remove the word start


great, now it seems to be doin something, but not running the game( runs as normal, but when triying to open the game it crashes, the bat thing that is), found out in the flowchart about "pause" and it seems like

"The system cannot find the path specified"

this as nothing to do whit me using 2 Internal Hardrives, nor something whit the 64 bit version, right ?

Edit, new run after what phades said
Code: Select all
"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Djava.library.path="D:\Games\H&H\Ender-64" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
d_datica wrote:Get the damn server back up before I go back to having a life

USER WAS PUT ON PROBATION FOR THIS POST

~art By SacreDoom
User avatar
Skorm
 
Posts: 925
Joined: Wed Mar 03, 2010 6:01 am
Location: on a house, with a computer

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Ahrefs [Bot], Claude [Bot] and 7 guests