| Thread | Last Post | Replies |
|
| Getting a user's homedir under linux | 06 Nov 2003 18:54 GMT | 7 |
Given a String containing a username, how do I get the path to that users homedir? I want to be able to resolve stuff like "~david/whatever/file.jpg" to "/home/david/whatever/file.jpg" or whatever the users homedir might be.
|
| requesting ntp time | 06 Nov 2003 17:53 GMT | 2 |
I want to get the time off an ntp server using java. I do not want to get the offset between my clock and the ntp clock. I just want the exact time off the ntp server at that moment in time. I have been reading a lot about ntp and I reckon this means extracting the
|
| processing a .txt file | 06 Nov 2003 17:36 GMT | 1 |
I want to read a .txt-file and transform the text to some java code i can execute. The .txt file contains for example: panic = 0.7 * HoFe - JoDi
|
| Bezier Curves | 06 Nov 2003 15:42 GMT | 2 |
Im trying to write a bit of code that draws a bezier curve.... So far I have come up with..... please any suggestions what im doin wrong? Thanks. J int i;
|
| Java app dies on logoff | 06 Nov 2003 10:58 GMT | 3 |
Dear Java experts, I've written a small Java 1.3.1 application running on Windows2000 server, that connects to an Oracle database (9i) and to MQSeries (5.3), and passes information between them. I installed it as a Windows service, trying both
|
| perl regex to java regex | 06 Nov 2003 10:55 GMT | 5 |
I am trying to convert a piece of code from using perl regexes to using java regexes. I need some help with converting the following two PERL syntax regex's to java syntax regex's. Can anyone please help
|
| Uploading files via ftp | 06 Nov 2003 10:20 GMT | 1 |
Does anyone know how to upload files to a server via ftp *and* veryfying that the file has been successfully uploaded? How to do that with Java? Any help/sample code would be appreciated.
|
| Coding Style | 06 Nov 2003 08:04 GMT | 5 |
I've read, that I should avoid code-lines of more than 80 characters width - to keep the code readable when read from the command line (is command line the right term? i mean this non-graphical environment, like DOS uses it). How important is that in practice?
|
| Problem with Apache Proxy, Java and DNS Alias | 06 Nov 2003 06:14 GMT | 1 |
We are having some problems with using Apache 1.3.26 as a proxy with Macromedia JRun or Oracle OC4J and a DNS alias in Solaris. Our proxy server has a DNS alias that we want to use instead of the server name itself, i.e. "alias.example.com" instead of
|
| Can Java link to Windows API's? | 06 Nov 2003 03:52 GMT | 1 |
Can Java link to Windows API's? Regards, Casey
|
| How to make a message scroll with the page | 06 Nov 2003 02:47 GMT | 2 |
Does anyone know where I can find some info on how to make an applet follow the browser scroll? Here is my problem: I have a little applet with links that is located on the top of my web page, but when the viewer scrolls down the page the applet is no longer visible. I would
|
| utf-8 encoding | 06 Nov 2003 00:56 GMT | 3 |
I'm building a Crawler that chop different nationalities websites' text into segments and terms. My Problem: I have to transform all used encodings (e.g.: 8849-1 etc.) of sites to utf-8 format. How can i do that?
|
| can't list files in a jar file | 05 Nov 2003 21:27 GMT | 1 |
I have a folder in my jar file.I want to be able to list all the files in it.How do I do it.Following code gives me a nullpointer exception. file.listFiles() returns a null object; File file = new File((MyClass.class.getResource(dirName)));
|
| Java IO in Windows 98 and Windows XP | 05 Nov 2003 20:15 GMT | 1 |
I have written a simple program using java language, mainly to check the status of a cash drawer. This cash drawer is connected through a receipt printer. In the coding, i used java IO to interact with the printer port - LPT1, meaning i open the outputstream as LPT1, then i
|
| Newbie Question- Objects and Arrays | 05 Nov 2003 20:10 GMT | 3 |
I have been struggling with this for hours now. What am I doing wrong in trying to instantiate these objects as arrays? Compiler errors are 2 per object: '[' expected ( = new), and emp is already defined in EmployeeInfo. ^
|