Re: Problem with liphpi.so on JDK1.3 + RedHat 6.0
> > You need to upgrade your glibc, to 2.1.3 or 2.2. Thanks, it works fine now. Erik /\ | Erik Erskine [EMAIL PROTECTED] | | Sundayta Ltd | \/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how create a texture from a file.jpg
You could use JAI package which runs on Linux very well. Go the the URL: http://java.sun.com/products/java-media/jai/index.html The snippet of code looks like: PlanarImage planarImage = JAI.create("fileload", "my_image.jpg"); BufferedImage buffImage = planarImage.getAsBufferedImage(); Pay attension to the import statement: import javax.media.jai.*; Hope it helps, Jacob Nikom Lopez Jose Ariel wrote: > hello: > > i dont know if this is a right place for this post. if it isnt please > somebody tell me where i can go for it (in java.sun seem to anyone > answer that) > i like apply a texture from a jpg file to a geometric shape. > I saw some examples about textures, but the texture are the the built-in > in jdk (i like to use one texture that there is in a file) > > i can create a texture from a buffered image but i dont know how create a > bufferedimage from a file .jpg > > Somebody knows how do that? > > Any help would be apprecciated. > > > Ariel Lopez > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
java questions
Hi, I have an interest in learning Java and as a first step I have installed jdk 1.3 on my computer. I wrote the easiest code --Hello World but does not seem to complie it. I think the problem is with the compiler as I cannot find the .class files. Here's what I have in the autoexec.bat @ECHO OFF PROMPT $p$g PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;C:\jdk1.3\bin set classpath=c:\java SET TEMP=C:\DOS REM == By ASUS CD/DVD-ROM driver === rem - By Windows Setup - LH /L:1,27952 C:\WINDOWS\COMMAND\MSCDEX.EXE /D:ASUSCD01 /V REM C:\WINDOWS\a4init.exe I have tried but cannot execute it as I always come up with an error of Bad command. Please could you tell me what the problem is? Thanks, Ify -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
2.4 kernel and threads
>From README.linux to the 1.2.2 distrib: * If you get OutOfMemory errors when you try create more than xxx threads you'll have to increase the number of tasks supported by kernel (the default is 256 per user). Change NR_TASKS in /usr/src/linux/include/linux/tasks.h and recompile the kernel, or upgrade to a 2.4 kernel. So can I assume a 2.4 kernel has no limits on threads? -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.4 kernel and threads
On Thu, 4 Jan 2001, Joseph Shraibman wrote: > >From README.linux to the 1.2.2 distrib: > * If you get OutOfMemory errors when you try create more than xxx > threads you'll have to increase the number of tasks supported by > kernel (the default is 256 per user). Change NR_TASKS in > /usr/src/linux/include/linux/tasks.h and recompile the kernel, or > upgrade to a 2.4 kernel. > > > So can I assume a 2.4 kernel has no limits on threads? 2.4 allows you to set the maximum number of threads/processes via the /proc file /proc/sys/kernel/threads-max. From poking around in the kernel source, the default limit is such that the maximum amount of memory consumed by all of the in-kernel thread structures would be half of physical memory (not virtual). As an example, on my 192M x86 machine that translates into a default maximum of 12288 threads (12288 * 8K/thread = 96M). Scott -- = Scott Murrayemail: [EMAIL PROTECTED] http://www.interlog.com/~scottm ICQ: 10602428 - "Good, bad ... I'm the guy with the gun." - Ash, "Army of Darkness" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]