Jump to content

Question

Hey guys I tried to run my server through eclipse but I was getting errors in the console, I fixed whatever I could but have this left, the cache file is there but I cant figure out why its doing this
Can someone please help, will be much appreciated
[CODE]Exception in thread "main" java.io.FileNotFoundException: user.home\742Cache\main_file_cache.dat2 (The system cannot find the path specified)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(Unknown Source)
at java.io.RandomAccessFile.<init>(Unknown Source)
at java.io.RandomAccessFile.<init>(Unknown Source)
at com.ben.store.Store.<init>(Store.java:34)
at com.ben.store.Store.<init>(Store.java:28)
at com.ben.store.Store.<init>(Store.java:24)
at com.matrix742.cache.Cache.load(Cache.java:72)
at com.matrix742.Launcher.main(Launcher.java:95)[/CODE]

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
[quote name='thebadman']Hey guys I tried to run my server through eclipse but I was getting errors in the console, I fixed whatever I could but have this left, the cache file is there but I cant figure out why its doing this
Can someone please help, will be much appreciated
[CODE]Exception in thread "main" java.io.FileNotFoundException: user.home\742Cache\main_file_cache.dat2 (The system cannot find the path specified)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(Unknown Source)
at java.io.RandomAccessFile.<init>(Unknown Source)
at java.io.RandomAccessFile.<init>(Unknown Source)
at com.ben.store.Store.<init>(Store.java:34)
at com.ben.store.Store.<init>(Store.java:28)
at com.ben.store.Store.<init>(Store.java:24)
at com.matrix742.cache.Cache.load(Cache.java:72)
at com.matrix742.Launcher.main(Launcher.java:95)[/CODE][/QUOTE]

user.home\742Cache\main_file_cache.dat2

put your cache folder called "742Cache in your C:\Users

Share this post


Link to post
Share on other sites
  • 0
Also this doesn't work: [code]user.home\[/code]

This works:
[code]System.getProperty("user.home") + "\\742Cache\\"[/code]

Share this post


Link to post
Share on other sites
  • 0
[quote name='Arix']Also this doesn't work: [code]user.home\[/code]

This works:
[code]System.getProperty("user.home") + "\\742Cache\\"[/code][/QUOTE]

thanks it worked
Now my client is stuck on checking for updates 0% and getting error_game_js5connect
do you know how to fix that?

Share this post


Link to post
Share on other sites
  • 0
[quote name='thebadman']thanks it worked
Now my client is stuck on checking for updates 0% and getting error_game_js5connect
do you know how to fix that?[/QUOTE]
There could be a couple of reasons. Look around on the forum, there's plenty of explanations and tutorials.

Share this post


Link to post
Share on other sites

×