Closed GoogleCodeExporter closed 8 years ago
Please add more Information about the problem.
What kind of linux?
Java Version
A Screen?
Original comment by dau...@googlemail.com
on 2 Mar 2012 at 3:00
Unpacked the latest release fresh and this is the first thing i get.
Arch Linux (kde if you may ask)
Original comment by ampern...@gmail.com
on 2 Mar 2012 at 3:12
Attachments:
Ok, now i see the problem.
He not find out the Base Path on your System.
In Version 0.7.4 i have try to fix it.
Pleas NOT rename the jtorchat.jar (the lenght of this file will be cut for the
path)
and test it again with the new Version.
I will show for a better fix but i hope this already work.
Original comment by dau...@googlemail.com
on 11 Mar 2012 at 12:06
It runs on ubuntu so that's good. What about you ampernand?
Original comment by jtorc...@gmail.com
on 11 Mar 2012 at 2:29
Same error as last time, I unpack it and run it and it fails. I'll look at the
code and see if i can patch it.
Original comment by ampern...@gmail.com
on 11 Mar 2012 at 3:48
Attachments:
Modified, Please Try my fix, it works for now on my end.
Original comment by ampern...@gmail.com
on 11 Mar 2012 at 4:50
Attachments:
There was a problem with Shutdown that i fixed too, here is the updated
TorLoader
Original comment by ampern...@gmail.com
on 11 Mar 2012 at 5:09
Attachments:
On Ubuntu it works over the normal way java.class.path.
In my fix i have think that the problem is not in the variable but is it.
On your system java.class.path is not exist...
Thanks for help :)
I will put this fix in the code for the version next week.
Original comment by dau...@googlemail.com
on 11 Mar 2012 at 5:55
What was your changes to the code ampernand?
Original comment by jtorc...@gmail.com
on 12 Mar 2012 at 5:30
TorLoader.java
line 35: process builder uses ./tor.sh instead of tor.sh
synchronized block in lines 57-67: added special case for getting the onion
hostname for linux
Config.java
line 76: use ./ as last fallback for BASE_DIR
line 96: added Logging for BASE_DIR
Original comment by ampern...@gmail.com
on 12 Mar 2012 at 6:25
Forgot this one:
TorLoader.java
Line 128: Linux Specific torclose.sh wasn't being called
Original comment by ampern...@gmail.com
on 12 Mar 2012 at 6:27
okay thanks for the heads up. This will be useful for daux to know
Original comment by jtorc...@gmail.com
on 12 Mar 2012 at 6:40
What i not understand is:
Line 128: Linux Specific torclose.sh wasn't being called
In the Orginal it was the same
line 96: added Logging for BASE_DIR
It was in the Orginal
The only change it:
line 76: use ./ as last fallback for BASE_DIR
Original comment by dau...@googlemail.com
on 16 Mar 2012 at 10:48
torclose.sh wasn't being called with linux so i added a case for that
exclusively. No other code was modified.
Logging what BASE_DIR is didn't seem to be set where I looked (Config.java)
Original comment by ampern...@gmail.com
on 16 Mar 2012 at 1:44
my guess is that archlinux does not recongnise the 'long path' that we tried to
provide it, but recognizes the './' relative folder notiation. Right Amp?
Also did you make sure to get the latest source amp, maybe that logger setting
is there now
Original comment by jtorc...@gmail.com
on 16 Mar 2012 at 2:34
I am not sure the 'long path' is set in all environments. Using './' for a
fallback may or may not work depending on the setup. it may have to be tweaked
if the OS is windows and needs to use the fallback.
Original comment by ampern...@gmail.com
on 16 Mar 2012 at 3:00
I have found the Problem now:
When you start a jar manual then the home variable is not set (i not know the
ground)
Double Click on ubuntu on file it works...
Start with Terminal java -jar jtorchat.jar it fail because the variable is not
set
The solution is that on linux he get the variable from an argument...
I have create a Script for linux this start it with the right variable and no
problems.
Thank for your help.
Daux
Original comment by dau...@googlemail.com
on 24 Mar 2012 at 9:00
that's great to hear, if you are creating a launch script for linux, don't
forget to make sure it checks the version of java as well (and provide
suggestion on updating it)
Original comment by jtorc...@gmail.com
on 25 Mar 2012 at 3:25
Original comment by dau...@googlemail.com
on 25 Mar 2012 at 9:13
Original issue reported on code.google.com by
ampern...@gmail.com
on 1 Mar 2012 at 9:23