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 ?
Thomas 5 3329
On Saturday 15 July 2006 21:22, Thomas stood up and spoke the following
words to the masses in /comp.os.linux.m isc...:/
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... ;-)
--
With kind regards,
*Aragorn*
(Registered GNU/Linux user #223157)
Aragorn wrote:
On Saturday 15 July 2006 21:22, Thomas stood up and spoke the following
words to the masses in /comp.os.linux.m isc...:/
>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.
Aragorn wrote:
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.
Where do the extra characters get added/removed? The OP said that the jar
works if it is copied to an ext2 partition. afaik, the only utility that
messes with terminators is ftp in the text mode. Unfortunately, many
Windows ftp implementations default to text and will add carriage returns
to binary files.
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
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.m isc...:/
>>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"
bowman escribió:
Aragorn wrote:
>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.
Where do the extra characters get added/removed? The OP said that the jar
works if it is copied to an ext2 partition. afaik, the only utility that
messes with terminators is ftp in the text mode. Unfortunately, many
Windows ftp implementations default to text and will add carriage returns
to binary files.
Maybe the JAR looks for its own pathname and tries to write some files
in the same directory? As NTFS partitions are usually mounted as
read-only in Linux, the writing would fail and the program would end
with an exception. :-?
--
If it's true that we are here to help others,
then what exactly are the OTHERS here for? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: SpaceCowboy |
last post by:
To begin, I'm using JBuilder9 under J2ME and MIDP 1.0. I'm trying to use an
external library. I can get my code to compile, but I can't get the library
code working on the emulator.
I'm working on a poker game, and have come quiet far with it. I'm to the
point I need to write a hand evaluation system. As luck would have it, these
guys have a Java open source hand evaluation program already written.
...
|
by: Glenn Remar |
last post by:
Does anyone know of any utilities that go through source code and
would display methods in external jars from your methods?
|
by: Pål Andreassen |
last post by:
Running Windows 2003 Server
Framework 1.1
A site is configured to use integrated security (in IIS 6)
Windows autentication and user impersonation in web.config
<identity impersonate="true" />
<authentication mode="Windows" />
I've got a ASPX page that lists folders and files from a predefined
location on the server. These folders and files have access rights set to
|
by: DEATH TO KENT WEST HILL |
last post by:
Praise
http://linux-ntfs.sourceforge.net/misc.html#praise
If you have a success story you'd like to share, let me know
(webmaster@flatcap.org).
Your project just saved me!! I run red hat 7.2 and have an NT box that I do
a lot of graphics development on. The nt box crashed and the emergency disk
|
by: Stefan Bauer |
last post by:
Hi NG,
we've got a very urgent problem... :(
We are importing data with the LOAD utility. The input DATE field data
is in the format DDMMYYYY (for days) and MMYYYY (for months).
The target data format is european DD.MM.YYYY (for days) and
01.MM.YYYY (for months).
The input format is not recognizable as a DATE input to a DB2 LOAD for
| |
by: Peter |
last post by:
When I issue
call sqlj.install_jar('file:///f:/jars/mail.jar','MAIL');
I get the messages
SQL4301N Java or .NET interpreter startup or communication failed,
reason
|
by: Ray Cassick \(Home\) |
last post by:
I am starting to think there is some kind of conspiracy :) but everywhere I
try to locate some (working) code showing how to change NTFS partitions on a
network share I end up at a dead end. I found tons of references to a tech
note (below) but MS seems to have 'lost' it :)
Any ideas?
http://support.Microsoft.com/?id=818362
--
|
by: natG |
last post by:
On a warehouse app, our Java clients constantly load/insert rows
into the db. I would like to throttle these inserts (1.5 million rows per
hr) from the Java app, based on current 'busy state' of the server.
It would be nice if I can get the server CPU utilization (and other key
factors) from db2 via jdbc. However, it needs to be low cost, since it
would likely run every x seconds.
System: db2 v 9.1 64bit on Centos 4.3 64 bit.
Thank...
|
by: Eyeinstyin |
last post by:
There is some way to run java3d on webbrowser without j3d.I saw one example on net dont remeber the link but that ran a j3d applet on my webbrowser that didnot have j3d package installed.It actually loaded the jars on itz own.How do i do this.Load j3d jars from server and then webbrowser should use them to run j3d applet
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |