Search code examples
javaexceldropboxexecutable-jar

Java jar executable cannot read excel files on dropbox


A bit complex issue.

I have a program to read data from excel files using XSSFSheets. Everything works fine.

The problem i have is that for some users the program does not work if the files is located on dropbox. (Local version of dropbox, on their hard drive.)

The issue is not path related. Checked more times than i can count.

What is strange is that everyone has exactly the same admin rights for dropbox and office 365. The only difference i can find so far is that these users has windows 10.

If we place these excel files on the desktop, the program can find them.

Does anyone know if there is an issue for Java get excel sheets on dropbox for any reason? Can it have anything to do with windows 10 resp windows 8? If so why does it work on the windows 10 desktop.


Solution

  • Hi everyone that answered.

    I finally found out what was wrong.

    The computors that run just Java JRE could not run the program.

    Computors that ran Java JDK could. So it seems that i have used some function only available for developers. I dont know what exactly but issue solved, so I'm not going to put more effort to it.