I have used ZDT for many years successfully on my Xubuntu 12.04 machine (zdt 1.0.2). Today I tried installing it on my Xubuntu 20.04 machine and cannot get it to run. Attached is the text that is dumped when the attempt to execute zdt is made. Would be grateful for any help I can have.
Best regards,
Geno
Hi Geno. Sorry to hear it doesn' t work.
It seems that the log says that it cannot find the ZDT log file.
"log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /home/geno/zdt/zdt.log (並不是一個目錄)"
I few things I can think of:
(1) do you/your app have writing permission to create this file?
(2) There are some Chin characters - are these characters somehow part of the file name (i.e. the file name is not 'zdt.log', but 'zdt.log (並不是一個目錄)'. Then it looks like some error/typo in the coding. Try to create that file "zdt.log (並不是一個目錄)" with same persmissions/owner as other files in the same directory.
3. It's possible that the versions of support software such as Java or Eclipse are different and tha something has changed there.
This is volunteersproject, and many of them have moved on so, unfortunately, I'm not sure if we can find somebody to look into unix code to fix it. Do you know how to recompile it using Eclipse?
It seems the issue is triggered by a differnce between Xubuntu 12 and 20. Most like around
net.sourceforge.zdt.core.Activator.<init>(Activator.java:31) (see the log file you attached)
This is line 31 of that source file:
private final Logger mLogger = Logger.getLogger(getClass().getName());</init>
Michael, thanks for your response. Seems to me unlikely that the lack of a log file could cause this failure. My user does "own" the zdt executable and the folder, so it should be no problem writing to a zdt.log file. I think that is just a warning. And the Chinese text "並不是一個目錄" simply means "and it is not a directory."
I'm leaning toward the eclipse business being made for 32-bit while the java is made for 64-bit, though I really don't know. In my old system (Xubuntu 12), it was a 32-bit machine. I'm not really a programmer, so there isn't much I can do to repair this problem without a lot of assistance.
If there is anyone else still receiving notifications for zdt bugs who could lend a hand, I'd be very grateful.