Re: load jars from NTFS under linux



Sigmund Hansen wrote:
Aragorn wrote:
On Saturday 15 July 2006 21:22, Thomas stood up and spoke the following
words to the masses in /comp.os.linux.misc...:/

Hi folks,

is there any obvious reason why the java compiler
cannot load jars from an NTFS filesystem under Linux (Debian) ?
I know for sure that the path I specify is correct and
I have read permit on that FS (not write though). I can
actually list the content of the jar with any standard
linux utility (cat, less...).
If I copy the same jar on my ext2 fs with the same
permissions (that is 444) the compilation runs just fine.
Any ideas/hints ?

Just an educated guess: the double end_of_line character used by
DOS/Windows maybe? UNIX only has a newline character at the end of each line, but DOS,
Windows and OS/2 have both a carriage return and a newline character at
the end of a line.

Like I said, just a guess. Your mileage may vary... ;-)


I think zip(jars are zips) files are supposed to have CR LF combos.
Bzip and gzip are probably LF only, for any newlines though, but jar uses the zip format.

No, the ZIP programs normally treat all files as binary, although some unzip programs can optionally be told to try to convert text files from whatever they are to whatever is the native. Furthermore, copying a JAR (or ZIP) file from one filesystem to another would not alter it in the slightest.

The original poster has not mentioned how he is accessing this NTFS. By mount, with NTFS code in Linux? By SAMBA? Some other way?

--
John W. Kennedy
"The blind rulers of Logres
Nourished the land on a fallacy of rational virtue."
-- Charles Williams. "Taliessin through Logres: Prelude"
.



Relevant Pages

  • Re: Hmmm...how to see Windows from LInux?
    ... I'm talking about reading an NTFS filesystem from Linux without ... reconfiguring their drive in any way. ...
    (comp.os.linux.setup)
  • Re: Newbie question: Servlets with Eclipse
    ... > have never used Eclipse on Windows but I suspect it's almost identical. ... just navigate to the servlet jar and select it. ... In Windows it's exactly as you described for Linux. ...
    (comp.lang.java.softwaretools)
  • Re: Java to executable
    ... > I'm looking for a tool that converts a jar into an executable program (or ... > Windows and linux, it's better. ... Suse Linux Professional 8.1 on Athlon 1.1 Ghz 512 Mb ...
    (comp.lang.java)
  • Re: Linux/MacOs Simple Test Request
    ... When i run it by using the .JAR it doesn't find this two files. ... So my question is = what is the equivalent of a .bat file under Linux? ... java CryptRL ...
    (rec.games.roguelike.development)
  • Re: Linux/MacOs Simple Test Request
    ... When i run it by using the .JAR it doesn't find this two files. ... So my question is = what is the equivalent of a .bat file under Linux? ... java CryptRL ...
    (rec.games.roguelike.development)