reading in text files that are more than 2 gigabyte

hi all is it possible to read in files in java that are over 2 gigabyte,
it’s just a bunch of coordinates, 60 million to be exactly, that i want to convert to my own binary format and later be used for streaming purposes.
but my text parser doesn’t do that much ???

Why not stream the text file? if it’s just to convert things…

http://java.sun.com/j2se/1.5.0/docs/api/java/io/RandomAccessFile.html

void seek(long pos)
Sets the file-pointer offset, measured from the beginning of this file, at which the next read or write occurs.

I can never remember the limits of bit-widths. Is this a bit-width problem? If so is this something a 64bit VM would fix?

You can read and write giant files in Java, my largest was about 10GB on a win32 system. The only limit is the file-system.