Please help(Very Urgent)

1475 byte By biku123 at 2007-9-26 15:46:21
Hi,Iam facing with one problem I can upload file upto 40mb by running my swing interface(java -Xmx256m ActionDemo4).If I select above 40mb size of file then it giving me Error on Dos-Prompt(java.lang.OutOfMemory).Now I increase jvm memory by(-Xmx540m)then my swing Interface run perfectly but ...

Increase no. of thread in JDK1.4

1200 byte By williamkwek at 2007-9-26 15:59:33
Hi all, is there any way to increase the number of java threads? I have written a java program to create 1000 of java threads but it will throw the following error when up to about 800 of java threads. Error message:Exception in thread "main" java.lang.OutOfMemoryError: unable to create new ...

Uninstalling JRE v1.3.1_01

377 byte By Taomyn at 2007-9-26 16:01:46
Hi,How do I uninstall/remove JRE 1.3.1_01 and still leave Internet Explorer capable of running Java with it's own software?If I remove it, Java no longer works.If I just disable it for Internet Explorer, it reverts to the MS java machine. If I then remove it with JRE still disabled, IE still ...

Javac problem

1257 byte By eydelber at 2007-9-26 16:05:29
I have a file which I want to compile using javac, call it all.java. My classpath is set to ".:/home/bops/public_html/WEB-INF/lib/mail.jar:/home/bops/public_html/WEB-INF/classes:/usr/local/resin1.2.1/lib/resin.jar:/home/bops/public_html/WEB-INF/lib/mm.mysql-2.0.2-bin.jar." I have a compiled ...

Information

18 byte By ashahr at 2007-9-26 16:06:02
Asha

which JRE should i take?

253 byte By dzw at 2007-9-26 16:06:55
I wrote a program in IBM visual age. By deploying i used jre of sun.I have a problem by running, i.e. it crashes!should i take a java jre of ibm? (ibm do have their jre).Anyone has expeience, suggestions?thanks

can't compile any *.java files using javaSDK1.3.1

532 byte By nitrateno2 at 2007-9-26 16:08:34
I've recently downloaded a java decompiler and installed in my computer. I've used it to decompile a java file. But than when I wanted to use the javaSDK1.3.1 to compile another java file in the dos prompt, the statement"Bad command or file name"appeared . I've uninstalled the decompiler and ...

How can I check "create" permission ...

98 byte By sterh at 2007-9-26 16:09:22
How can I check "create" files or subdirectories permission for the given directory?

Javac and working with CLASSPATH.

427 byte By lauretti at 2007-9-26 16:12:22
No matter where I set the classpath the only class files that will compile are the ones in the bin directory. I really and truly mean no matter where. I also cannot find a startup file anywhere in WinXP. It seems I set the classpath once, when I installed JDK1.3.1_02 and even if I reset it to ...

JRE on Linux causes segmentation faults

2050 byte By PROMIA at 2007-9-26 16:18:42
Hi, I'm having problems with the jre on red-hat linux version 7....I installed the JRE 1.3.1, set up a class path, and tried to run a simple program that has one line in it:System.out.println("Hello, ham sah bloh!!!");The results were:t@sfwebsvr01 /root]# cd /home/sensor032[root@sfwebsvr01 ...

JVM and JRE

138 byte By zadamjee at 2007-9-26 16:25:23
HI,Can any one tell me what is the difference between Java Virtual Machine and Java Runtime EnvironmentThanks.

printing a Word document in Runtime

508 byte By mortazah at 2007-9-26 16:30:56
Hi,I know that this subject may seems an old one ,but I am stuck with it .I wrote a simple program just to print a document in Runtime but it gives me IOException.import java.io.*;public class Test {public static void main (String[] args)throws IOException{String[] cmd = {"command.exe /c ...

J2RE SE version 1.3.1.02

275 byte By fohrvy at 2007-9-26 16:37:59
I recently downloaded Opera 6 browser which incorporates J2RE SE v.1.3.1 in its system. I want to update to the most recent Java version, which appears to be 1.3.1.02. Do I have to install v.1.3.1.01, or are all the data for this version included in v.1.3.1.02?

How to check if a thread is instanciated

235 byte By colorrr at 2007-9-26 16:39:46
I need to check if a class (of superclass thread) is instanciated, and if not, instanciate it and run it.Does anyone know how to check if a class have already been instanciated in the JVM?Thanks,Color

Execute a program using jre

321 byte By hellosubash at 2007-9-26 16:43:17
Please answer to the following questionI want to execute a programme when i double clickson a batch file or executable file.Using jre this is possible .But how?. There is another problem also.I want to run this programme on a computer without jdk.Please give me a remedy to this problem ...

JAVA in Startup (Windows)

57 byte By clar at 2007-9-26 16:46:11
How do I remove Java Runtime from Startup?

Http connection problems introduced in JDK1.3.1_02?

378 byte By RichAdili at 2007-9-26 16:46:48
I am using a simplistic Http/1.0 server that worked well with JDK1.3.1_01. The 02 released is causing me problems. My server is reporting frequent "socket closed by peer" IOExceptions, either reading the request or writing the response. I haven't found mention of changes in this area and am ...

How to retrieve system specs such as memory, disk size, etc using java?

239 byte By BillaLoga at 2007-9-26 16:48:28
I'm having a hard time trying to retrieve the system information such as Memory, disk space, pentium type, OS type, etc, using Java. Is it possible or is there any other language that is inclined to this? Pls, help me. asap!

Awt/Swing Problem on Solaris

701 byte By grantpk at 2007-9-26 16:51:34
Not sure if this a JRE question - sorry if it's off topic.Whenever I try to run any graphic application on my Solaris machine, I get a fatal exception:"libmawt.so: open failed: No such file or directory".This happens if I try to execute appletviewer or run a graphic program from the comand ...

jre1.3.1_02 blues.... :(

590 byte By rg at 2007-9-26 16:54:25
Hi,I have some pbm with this version of jre. I have 2 HTML frames. Initially i load an SwingApplet in frame 1 and then upon an event load 2nd applet in frame 2 using getAppletContext().showDocument(<URL>). This works fine in both the versions(1.3.1_01 & 1.3.1_02). In the 2nd applet i ...

How to check if server is running?

232 byte By aravindraman at 2007-9-26 16:56:38
I would like to check programatically if the server instance is running and send out emails if the server is down. I cant seem to figure out, how to make this check. Am using JRun if it helps. How do I poll the server?

User Home Directory

308 byte By neilm at 2007-9-26 17:01:28
I am using JRE 1.3.1. On the Java Console there is a variable called User Home Directory. Where is this populated from? It changes based upon which NT users login to the machine, but I can't find it mentioned anywhere in the environment variables listing.Thanks from a beginner!! ...

how do we parse root password on linux using java

277 byte By rs_akoolainc at 2007-9-26 17:02:51
hi all...no response ?Using java on Linux how can we parse the root pasword after executing the "su" command using Runtime.exec()..? i tired using java.io to get the process input or error stream but din't work...help me outthanks Raj

Problem Upgrading from 1_3_0_01 to 1_3_1_01

1445 byte By juanmiranda at 2007-9-26 17:04:09
Hi everyone,I've been puzzling over this one for a while now, hopefully someone knows what to do.I'm upgrading my application to use JRE 1_3_1_01 instead of 1_3_0_01. I made the changes, installed the new plug in and it all works fine, except for one thing.The problem came up when I started ...

Java with Windows xp

266 byte By sudhir_ptl at 2007-9-26 17:04:19
how to run java programmes in windows xp thru command prompt window.Whenever i open command prompt window i havec:\Documents and Settings\owner>I need to get access to my java folder,how do i get there thru command prompt window

problem with running java on xp

540 byte By vlado at 2007-9-26 17:06:13
I am pretty new to java, however java was running fine on windows 2000, butwhen I upgraded to xp, command line tells me the next messageRegistry Key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion 'has value '1.3', but '1.4' is required.Error: could not find java.dllError: ...

Killing the exec process.

387 byte By khiz_eng at 2007-9-26 17:15:38
Hi to all,I have spawned a process in method start when it is called and i want to kill the process when method stop is called, I am able to kill it successfully in one method by using theProcess.destroy(); but when i want to kill from other method it is not.Could anybody helpe me in achieving ...

runtime.exec

390 byte By RycherX at 2007-9-26 17:16:10
I get this error. I don't see how anything is wrong with it.It just won't run my .cmd file. No MSDOS window opens up. It even put (cmd) at the beginning of the argument. Still no luck. D:\Apache Tomcat 4.0\work\mfweb2\examples\jsp\MenuDirect2$jsp.java:90: Invalid escape character.Process ...

Test servlets on local computer ?

147 byte By Dbussy at 2007-9-26 17:17:20
Is it possible test java servlets or JSP on my local computer without JAVA Server ? If yes, what should i do for it ?thanks..

DOS Window When Using Runtime.exec()

293 byte By gmcauley at 2007-9-26 17:17:57
Hello,I am running a native process in Windows (98, NT and 2K) with code similiar to this: Runtime r = Runtime.getRuntime(); Process p = r.exec("anExe.exe"); p.waitFor();Is it possible to hide the DOS window that pops up while the process runs?

Problem with javaplugin1.3.1_01

284 byte By montygupta at 2007-9-26 17:21:29
I am using javaplugin1.3.1_01. My applet window opens from the login page. I keep this applet window open and I try to open a new applet window (same applet) from a new login page.But the new applet window doesnot open up, instead the previous applet window also closes.

Jre.exe error

204 byte By Darkyon at 2007-9-26 17:22:20
We have an jre.exe error when we try to start an application with Java.the computer is an Intel P4 with W2K. With a P3 an W2K we don't have any problem.Someone could help us ?

Will a thread that dies cause the whole application to die?

473 byte By hgjson at 2007-9-26 17:31:16
For a critical business application, is there away of preventing the whole application from crashing when a thread dies unexpectedly (when performing a critical task for example)? We can not afford that the whole application hangs due to an individual thread problem.Our alternative is to go for ...

problems executing batch files with .exec()

1319 byte By JavierHo at 2007-9-26 17:44:29
Hello everyone, i tried executing a few batch files during runtime using the .exec() method. but it didn't work. can someone pls advise me on what is going on?import java.io.IOException;public final class NMSD{public static void main(String[] argv) throws IOException, SecurityException{Process ...

Can not run server and client on the same machine

919 byte By gen_www at 2007-9-26 17:47:42
Applet runs in JRE 1.3.1 in Internet Explorer 5.5.Server is Weblogic 5.1 (Weblogic 6.1 gives the same problem). We used JDK 1.3 to compile both server and client classes. Application runs fine when server and the client are running on different machines. So there is no problem with server, our ...

microsoft's MFC api

107 byte By pvial at 2007-9-26 17:50:48
hidoes anyone know where i can download a jar for com.ms.wfc.app.*thanks

Multiple instances of java in RedHat Linux-7.1

643 byte By bhuvana_ at 2007-9-26 17:51:39
hi all,I am using RedHat Linux-7.1 and JDK-1.3.1. My application has been developed in Javaand Swing. Initially, I was having RedHat Linux-6.2 and developed my application in JDK1.2.2.It was working fine. If one user opens the application, only one instance of 'java' was onprocess. I found it ...

JDK 1.3 vs Swing1.1b3 and JDK1.1.7

309 byte By ludo at 2007-9-26 17:52:36
Hi,I have to use JDK1.1.7 (because of OS/2, I know there is a JDK1.3 for OS/2, but we can't install it... it's another problem)With JDK1.1.7 I use swing1.1b3, but I am looking for use the new Swing of JDK1.3Is it possible?How can I do that ?Thanks in advance ...

How to specify Java version in an applet tag?

243 byte By trcanol at 2007-9-26 17:54:07
I want to be certain about which Java version is used for my awt-applet. When you have a swing applet you can specify the version within the object tag.What I wonder now is how to specify the Java version in an applet tag?

64-bit mechanics question

134 byte By gseller at 2007-9-26 17:55:25
Do you automatically get the benefits of the 64-bit JVM just by running in it or do you need to build with a 64-bit JDK?

Calling CL command in java

103 byte By ttestt at 2007-9-26 17:58:43
I would like to know how to call cl command in java to delete a file in my server. thanks

JavaScript has JVM or not

189 byte By milinddev at 2007-9-26 17:59:44
Is there any garbage collector in Java Script is ther any JVM or other thing will runs the javascript.Can any body tell me excatly how does the JavaScript actually runs

HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION

3111 byte By illy_camillion at 2007-9-26 18:00:03
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6d447db3Function name=JVM_EnableCompilerLibrary=C:\Program Files\JavaSoft\JRE\1.3.1\bin\hotspot\jvm.dllCurrent Java thread:at java.util.TimeZone.getSystemTimeZoneID(Native Method)at java.util.TimeZone.getDefault(Unknown Source)at ...

Java Run Time Environment (JRE) v1.3 Plug-in Problem

461 byte By wildcatatheart at 2007-9-26 18:02:51
I just started using Netscape because of problems with IE. However, when I go to certain sites, mainly game sites, that I normally go to, the "puzzle" piece shows up and says I need to download the JRE v1.3 Plug-in. I have downloaded it and have ran it. It has done nothing. I still get the ...

Exception error on XP (IE6.0)

7117 byte By daveden at 2007-9-26 18:04:43
I've tried installing both the JRE 1.3.1_02 and the 1.4b3 on my XP machine. With either JRE installed, the news applet on the http://java.sun.com website will crash IE6. When I uninstall the Sun JRE and revert to the MS JVM, the news applet works fine. When I install either JRE on my Win2K ...

Passing values and calling other classes?

343 byte By MilanDemel at 2007-9-26 18:05:49
Hello all.I have 2 classes(separate .java files). One is a login class and the other is the actual program. Login class(eventually exe file) should open the other class and pass the login parameters if you know what I mean. Is this possible, or do the 2 classes need to be part of one ...

Missing Parts In JDK 1.3.1_02

2785 byte By beforewisdom at 2007-9-26 18:08:17
I'm running Java 1.3.1_02 on Suse Linux 7.2 with the KDE 2.1.2.The Java applications I run look *terrible*When I boot them up I get these error messages( see bottom ) complaining that it can't find these fonts.Can I obtain these fonts? How would I install them if I could?I don't even have a ...

Run time object

508 byte By siva_jankan at 2007-9-26 18:12:39
Hai all, Is it possible to capture a independent running class (object) from other independent class(object). I mean can I check whether the particular class (ie, object) is running alrteady. For example, I have a class name authendicate. On running this class, then I accidently start the same ...

Runtime.exec and dialog windows

266 byte By marcobosoni at 2007-9-26 18:13:44
I'm using Runtime.exec to launch an exe that may crash due to runtime errors (such as division by zero). When this appens a dialog window shows up, waiting for the user to close it. (I'm running the program under Win98). Is there a way to avoid this?

plugin problem

642 byte By pjustin1 at 2007-9-26 18:16:04
Previously i was running on a Nt4 P2 800Mhz, 128Mb Ram, all the software installed are exactly the same as what i have in my current system, which is now running on NT4, 1.8Ghz,256Mb ram i get the following error when i view "java" webpages (Netscape 4.79 & IE5.5)Could not load the plug-in ...