Re: Gosling says he wants to support Java on Linux

1999-09-10 Thread Jan-Henrik Haukeland
st. is not really as homogeneous as we like to think it is. -- Jan-Henrik Haukeland -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Cut-n-paste?

1999-07-29 Thread Jan-Henrik Haukeland
tions: #override \ Button1 : select-end(PRIMARY,CUT_BUFFER0,CLIPBOARD)\n\ :insert-selection(CLIPBOARD)\n\ : insert-selection(PRIMARY,CUT_BUFFER0) -- Jan-Henrik Haukeland -- To UNSUBSCRIBE, email to [EMAIL PROTE

Re: Sending mail from an application (Pre-v2 JDK, Redhat 6.0)

1999-07-23 Thread Jan-Henrik Haukeland
he process. Any ideas? Open a socket against port 25 on a mail server and speak SMTP. (JavaMail IMHO is an overkill if you only want to send a smtp mail) -- Jan-Henrik Haukeland -- To UNSUBSCRIBE, email to [EMAIL PROTEC

Re: java.lang.OutOfMemoryError

1999-07-13 Thread Jan-Henrik Haukeland
new SBTest(); >} > } Ehh.. I didn't actually look at the code before :) Tell me what is it that you are trying to gc? If you're patient you'll get an int overflow as far as I can see. -- Jan-Henrik Haukeland -

Re: java.lang.OutOfMemoryError

1999-07-13 Thread Jan-Henrik Haukeland
} > } A thight loop (without sleep or yield), like the one above, will not let the gc thread in on the party. That's the case if you run on a preemptive JVM (i.e. with green threads) with real time slicing (native threads) it'll work. -- Jan-Henrik Haukeland -

Re: java.lang.OutOfMemoryError

1999-07-12 Thread Jan-Henrik Haukeland
was a bug in the LogWriter, which generated an error like this. (The log was never flushed, when the load was high) -- Jan-Henrik Haukeland -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe&quo

Re: native vs green threads

1999-07-07 Thread Jan-Henrik Haukeland
<[EMAIL PROTECTED]> writes: > Can somebody tell me - how do we tell it to java to make use of which > thread system (native/green)?? java -green ... java -native .. -- Jan-Henrik Haukeland -- To UNSUBSCRIBE, ema

Re: makefile

1999-06-29 Thread Jan-Henrik Haukeland
t; example? > And tellme how to use it? http://www.tildeslash.com/mmake/ -- Jan-Henrik Haukeland -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: memory leak?

1999-06-01 Thread Jan-Henrik Haukeland
; } A closed loop like this one will not let the gc thread in to do its work. Try to run the program in its own thread or issue a yield() or sleep() in the loop. -- Jan-Henrik Haukeland -- To UNSUBSCRIBE, email to [E

Re: Problem with jdk117_v1a

1999-05-28 Thread Jan-Henrik Haukeland
green_threads/java: error in loading hsared libraries: > > ./../bin/i686/green_threads/libjava.so: undefined symbol: > > _dl_symbol_value > * > > This is because RedHat 6.0 is now glibc 2.1 (rather than glibc 2.0) > and there were some changes that affected the JDK. But with nativ

Re: jserv - System.out.println()

1999-04-28 Thread Jan-Henrik Haukeland
gt; ServletLog /usr/lpp/internet/server_root/logs/servlet.log That's for the servlet log() method, has nothing to do with System.out -- Jan-Henrik Haukeland -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Dynamically modifying CLASSPATH

1999-03-08 Thread Jan-Henrik Haukeland
n your current CLASSPATH. Have a look at: http://www.javaworld.com/javaworld/jw-01-1999/jw-01-techniques.html -- Jan-Henrik Haukeland -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble

Re: JavaLinux for servlets

1999-02-17 Thread Jan-Henrik Haukeland
tance two very good ll(k) parser-generators, AntLr and JavaCC, which are much better grammar-vise than yacc or bison which are lr(1). > * -- Jan-Henrik Haukeland

Re: Modal JInternalFrame?

1998-09-29 Thread Jan-Henrik Haukeland
ellent article at Swing-connection called 'Understanding Containers' - read it! -- Jan-Henrik Haukeland

Re: Mouse cursors

1998-09-26 Thread Jan-Henrik Haukeland
setCursor(w, Cursor.DEFAULT_CURSOR); } }); w.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { JaMUtil.setCursor(n, Cursor.WAIT_CURSOR); } }); } } -- Jan-Henrik Haukeland

Re: Java DB browsing utility

1998-08-18 Thread Jan-Henrik Haukeland
new site, soon to open, called JavaMeal promises more high quality stuff. JavaSoft also have some pointers, or you could try JavaWorld, or whatever. It's not hard to find. http://www.developer.com/directories/pages/dir.java.html/ http://www.javameal.net/ http://www.javasoft.com/ http://www.javaworld.com/ -- Jan-Henrik Haukeland

Re: Equivalence

1998-07-29 Thread Jan-Henrik Haukeland
int out[] = body(schedule, Eswap0, Eswap1); byte b[] = new byte[9]; intToFourBytes(out[0], b, 0); intToFourBytes(out[1], b, 4); b[8] = 0; for(int i = 2, y = 0, u = 0x80; i < 13; i ++) { for(int j = 0, c = 0; j < 6; j ++) { c <<= 1; if(((int)b[y] & u) != 0) c |= 1; u >>>= 1; if(u == 0) { y++; u = 0x80; } buffer.setCharAt(i, (char)cov_2char[c]); } } return(buffer.toString()); } public static void main(String args[]) { if(args.length >= 2) { System.out.println ( "[" + args[0] + "] [" + args[1] + "] => [" + jcrypt.crypt(args[0], args[1]) + "]" ); } } } -- Jan-Henrik Haukeland

Re: Environment variables

1998-07-22 Thread Jan-Henrik Haukeland
them into the System properties list via the -D option on the commandline). Java 1.1 does not allow a java program to read system environment variables since they are dependent of the plattform. Hence deprecation of System.getenv() -- Jan-Henrik Haukeland