JVM exits with 'not enough storage to complete this command'

816 byte By mulgurul at 2007-9-26 13:35:35
Im developing a server program which run in a "forever loop", checking some tables and files through 4 different classes. I 'new' all needed for the run inside the loop, and then call gc, disconnect the db connection and pause for 30 seconds. After apr. 18 hours the JVM exits completly and ...

JRE Version Problems

674 byte By 747tech at 2007-9-26 13:39:31
My program uses the JRE 1.3.1 Plug-in. I downloaded this version, and allow users to download this version from my website so that the JRE versions stay consistent. I see that there are newer JRE versions released by Sun. I went ahead and downloaded JRE 1.3.1_01 and the JRE 1.3.1_01a. It seems ...

One more with NoClassFound

564 byte By lonelyplanetfr at 2007-9-26 13:41:47
HiI have a NoClassFoundError :Here is my "tree"MyDocuments\com/graphs/...mypackage/ClassMain (contains the main(str[]) method)AnotherClass1AnotherClass2com/graphs is called by "import"Inside all the classes of myPackage I put "package mypackage"As I open it with JBuilder there is no problemAs i ...

ClassLoader

505 byte By nille40 at 2007-9-26 13:49:22
Hi everyone,I'm trying to load a bunch of class files from a jar-file in my java application, using a ClassLoader. It goes like this: I load the jar file and define the packages. When I define the classes I bump in to a problem: If a class extend another class, and this class is in the same ...

problem about execute commond on platform?

966 byte By shogun1234 at 2007-9-26 13:52:05
i try to execute commond on window platform (the same problem as on solaris) via exec(String commond) method of Runtime, which return the type of Process; but fail as error message 1):how can i execute the commond (ex:dir,date,...) and let it return its result as running commond in commond ...

can i build an .exe like File with JBuilder 5.0?

605 byte By timster1 at 2007-9-26 14:00:49
Hi everyone!I ve build an Apllication with Jbuilder 5.0, but the problem is, that i can only run it from JBuilder.When i try to start it from its home folder, and simply doubleclick on the file.jpx, jbuilder is starting automaticly.i can run the program there, but its stupid this way.is it ...

compile time error -- NoClassDefFoundError

567 byte By dhunts at 2007-9-26 14:03:43
I'm in a CS class and we're doing a bunch of sorts (heap, merge, quick etc.). We're using the Comparable interface (created I believe at jdk 1.2). My code compiles, but I get an error that basically says it knew that the interface Comparable existed when it compiled, but now it can't find ...

Running multiple java apps simultaneously, each using a different jre.

1102 byte By dbthings at 2007-9-26 14:03:54
I have a situation where I have 3 or 4 applications (and one applet) that were built over time, each with a different version of the jdk (ranging from 1.2.2.005 to 1.3.2). I need to know of a way (and it must exist) to run each of these applications on the same machine, and at runtime, have ...

Simulation.java:1: error:Cannot find class "ActionListener" [JLS 8]

233 byte By mlazarew at 2007-9-26 14:09:39
Can anybody help me to solve this problem ?The begin og the file is:public class Simulation extends JApplet implements Runnable,ActionListener, ItemListener, ChangeListener {Tnx,Maciej

MS-DOS and Windows Error

523 byte By j2k at 2007-9-26 14:16:57
I got Windows XP. I installed Java Run Time for Windows XP and SDK 1.3. I compiled my code, it works, but this error appears in MS-DOS: "Exception in thread "main" java.lang.NoClassDefFound: HelloWorld". Also, when using Explorer 6, it does not recognise Java Applet pages and gives the ...

Applet Hanging Windows 98

498 byte By willc at 2007-9-26 14:21:06
Has anyone run into any problems using the Java plugin (1.3 or >) or AppletVieweron Windows 98? We have an applet that requires the Java plugin. Itruns fine on Windows 2000/NT/ME but seems to be hanging the applet,browser and in some cases the machine itself. The machines have variouslevels ...

How to start Java-applications without Dos-Box under Windows?

355 byte By Urmech at 2007-9-26 14:21:17
Hi, I have writtenan App and at the moment I'm starting it with a batch-file (.bat)But this requires always to show up a Dos-Box (surrely I can selected to start minimized). How to get rid of this Box. Like "Java Web Start"or the "Html-converter".Thanks a lot in advance.MichaelPS.: Please ...

1.4 JRE is Monstrous

1016 byte By AlGi at 2007-9-26 14:21:24
I know there is already one thread about the size of the 1.4 JRE .... which happens to be about 18 MB, which happens to be about 4 times the 1.3 JRE. The conversation in that thread is distinctly negative on Java client side development. Howver, there may be others .. like me.. who have too ...

How Applet pass stack to JNI ?

809 byte By Meizhenyang at 2007-9-26 14:23:34
I'm preparing a project with J2EE, The client need to call C++ Dll (hardware drive), for some reason the App need pass stack to the C++ Dll.When I write the Java Application and set the VM parameters: "-Xss4m" the program run OK!. If do not set the VM parameters, the program will crash for ...

How to create an executable java application?

278 byte By barath007 at 2007-9-26 14:27:29
Hi All,I am trying to put together all my class files, image files and resource files into one bundle and create an executable java(.exe file). I should be able to transport this on the web and launch it. Do you guys know of anyway to do this?Thanks.

JRE 1.2.2 on Compaq machines

407 byte By vw5342 at 2007-9-26 14:28:42
We have tested the JRE 1.2.2 under Windows 2000 on an IBM machine, and our application ran fine. The same is true of a Dell Windows 2000 machine. However, on the Compaq machines that we have tested on, the application does not run at all. I believe the Windows 2000 images are the same on all ...

Running Class in package?

179 byte By jeca at 2007-9-26 14:40:20
I have problem running class in package. What do I write (win) to make the class in a packege run? If I remove it from the package I just write: java MyClass.

Object Hash Code IDs and References

2164 byte By shermandmonroe at 2007-9-26 14:40:51
Hi all,Here is my problem. I have an object, "MasterObj" for discussion sake, that I instantiate once at start-up, from a file contains a list of properties. The properties are used to set various fields in the MasterObj. During run time, other objects, "Callers", are going to have sessions ...

Default locale supporting Euro ?

398 byte By EdwinG1 at 2007-9-26 14:40:55
The default locale for the JVM is obtained from the host environment. You can check this via Locale.getDefault();How do I need to configure Windows (NT / 2000) so that the JVM will recognize the EURO variant of a locale, e.g. "de_DE_EURO" i.s.o. "de_DE" ?Or are those Euro specific locales only ...

Multiple JDKs auto-launch

526 byte By steveftoth at 2007-9-26 14:41:54
Under windows, when you install the JDK you get the ability to auto-launch any jar file via double clicking. When you install multiple JDKs as I've done, how can you select which JDK to use to launch the program? It's got to be a registry setting right? Does anyone know how to tell windows ...

To convert java class to exe to improve performance

226 byte By ccmanohar at 2007-9-26 14:43:11
I have some Java Swing applications which run very slowly on Windows.1) Are there any softwares to convert java class to exe? i.e. to machine code.2) Will this improve the performance?

Running a jar-file by double-clicking it?

559 byte By jeca at 2007-9-26 14:46:06
Hi. Ive created a jar-file with a Main-Class-manifest that I can run by writing (Windows):java -jar MyJarFile.jarI would like to run it by double-clicking it. Can it be done? Ive tried to associate jar-files with both java and javaw, but it wont work. Ive also written a bat-file with the same ...

does java RunTime provide Process id on Unix and NT

128 byte By pgahuja1 at 2007-9-26 14:48:15
does java RunTime provide Process id on Unix and NT? if yes, could you please let me know how.thanks

Runtime.exec redirection issue on HP-UX

454 byte By mukkaajit at 2007-9-26 14:50:29
I had an issue running Runtime.exec() on hp-ux . My same problem works fine on nt and solaris m/c.The issue is String cmd[] = {"ls",">","ls.txt"};Process iProcess = iRuntime.exec(cmd);when i execute this on hp-ux with jdk1.2 it throws IOException Error > found . i tried escaping ">" as ...

How to set compiler for JRE ?

440 byte By chintat at 2007-9-26 14:52:17
HiI am working on a project that convert some simple proprietary script to java source code and then compile them into class files. I can't get the compiler to work ...apparently the java.lang.Compiler is just a placeholder. How do I configure my JRE so that there is a real compiler behind my ...

jre 1.3.1_01 Damaged Download

2153 byte By maxrose at 2007-9-26 14:53:31
I have uninstalled and deleted files and attempted to download and reinstall 4 times.Each time i reboot after every step. I can't seem to get the java plug in to connect properly.This is the error i get when i attemp to log into the host.Java(TM) Plug-in: Version 1.3.1_01Using JRE version ...

How I can set the Non-standard option of -Xmxn of jvm

344 byte By biku123 at 2007-9-26 14:55:36
Hi there,Can any one tell me how I can set the Non-standard option of -Xmxn of jvm (setp by step).Iam using Sun's jvm(jdk1.2.2).Iam facing a error(java.lang .OutOfMemory).I want to set the maximum size of the memory allocation pool.Any help will be highly appreciated.Thanks for ur valuable ...

Image Name in windows task manager

478 byte By jerryxyz at 2007-9-26 14:56:37
Hi, I run some Java apps in winNT box,but sometimes I need to kill the process in windows task manager,but all the java apps display the same image name,named "java.exe",so I can't distinguish which java process I want to kill. is there any options we can assign to java.exe than the java.exe ...

Applet - access

340 byte By nille40 at 2007-9-26 14:58:02
Hey guys,I was wondering, how can I access the local harddrive from on applet? I know about the signing, BUT...I don't want the dialog that prompts the user to pop up before the applet is loaded. I want it to pop up lets say when the user presses "Download" or something... How can I do ...

Each Enterprise can own a Internet Desktop

1743 byte By annstanlam at 2007-9-26 14:59:33
I am IT guy and I am creating a platform ( a roaming desktop) based on internet environment. Right now I use Novell Server as backend to provide file storage place. My desktop platform just like a graphical terminal and enable the user to bring up this terminal by a browser. That means no ...

I can't run installer ORACLE 8.1.7 in WINDOWS SEVER 2000

36 byte By domenic1 at 2007-9-26 14:59:49
May some one help me ?

jar file execution fails

597 byte By alexsch25 at 2007-9-26 15:05:54
Hi,May be somebody has an idea about my problem.I have vendor jar file; Notes.jar with class lotus.notes.NotesThread.classNow I'm trying to create an instance of NotesThread in my class CustomAgent.Problem is: when I run just the class: java CustomAgent, it works.But if I created jar file by ...

exec and waitFor()

669 byte By hiteshkb at 2007-9-26 15:06:58
Greetings.I run the Runtime.exec() command with a relatively long (240 chars +) command on NT. When I run this command from Java and do a waitFor() on the process it blocks forever. This supposedly indicates the process is not over and/or the application is not responding. However, when I run ...

URGENT - EXCEPTION IN THREAD "MAIN"

508 byte By fernandox at 2007-9-26 15:07:13
Hi all.I developed a commercial program e some users don't get to execute my java program (windows environmment).They receive the message:EXCEPTION IN THREAD "MAIN".JAVA.LANG.NOCLASSDEFFOUNDERROR:MYPROGRAM (if the program runs with java.exe)or the message:COULD NOT FIND MAIN CLASS. PROGRAM ...

Segmentation fault (coredump)

419 byte By vamendoza at 2007-9-26 15:08:51
Hello everybody!I have a problem with my java program. I left my program running for several days and my program terminated. The last message displayed was "Segmentation fault (coredump)". Can anyone share their experience with this kind of error. This is my first time to encounter this error. ...

running two application in the same JVM

402 byte By vrakoton at 2007-9-26 15:10:42
Hi,Perhaps this question was already posted but I did not find it. Suppose you have a Java application running on a JVM and that I'd like to run a new other application. Suppose I don't have the necessary hardware power to run two JVM at the same time. Do you know how I can tell my new ...

ProcessIDs

359 byte By kavi_karunakaran at 2007-9-26 15:11:03
Is it possible to obtain the process ids of all the running applications? Basically,in my Java code,I need to know whether a particular process (say,another Java program) is running or not.Can we obtain the process IDs of allapplications at a particular point of time ? If so,how do I do this ? ...

?JBuilder expert?

205 byte By deliasmith at 2007-9-26 15:14:43
..please explain how to use the graphics to fire an event from one button to another component when creating an applet cause i can't work out which heading its under and what sequence.......

High Speed Execution, Still Dynamic...

881 byte By w_r_rose69 at 2007-9-26 15:19:17
I'm not a compiler guru, but wouldn't it be great if a pluggable native compiler API was developed that allowed a platform specific compiler to generate native code so the JVM could use the resulting native class the second time through (an entire class rather than hot spots). >>>The ...

JRE on MS-DOS based platforms

215 byte By gulnor at 2007-9-26 15:20:20
Is there any port of JVM or even KVM really available for old MS-DOS based handhelds? I've heart a lot about kaffe's port, but it seems like kaffe's ms-dos port is only a urban legend.Thanks.

the stdout and stderr in javaw.exe enviroment

260 byte By jerryxyz at 2007-9-26 15:23:13
hi,when i run a class using java.exe enviroment,the stdout and stderr is the console,but can someone tell me that where the stdout and stderr in javaw.exe is?or javaw.exe don't have stdout and stderr ?thanks for your answer

real size of JVM

327 byte By burshy at 2007-9-26 15:24:39
Hi there,I want to know the absolute size of my Runtime, sothat I can prevent memory-errors in the runtimeenvironement. Has anybody an idea?The calls Runtime.totalMemory() and Runtime.freeMemory() refer only on the actual size of the Env. Not to the possible Maximum Size!Regards,UlliD ...

Java 1.3.1.01a plug-in silent install on an Intranet

559 byte By jeannaimar at 2007-9-26 15:24:55
Hi,I need to deploy a java based application on an Intranet and I have to install JRE 1.3.1.01a on client computers.I know one way : using CODEBASE=... line with path of JRE executable file in my HTML start page.The big problem is that users are not very familiar with computers: I must provide ...

Diff between classic and hotspot

133 byte By mike_kennedy at 2007-9-26 15:25:33
Since classic will no longer be supported in 1.4, was are the main benefits of hotspot over classic and why the change?

Runtime.exec...

1692 byte By burdzy at 2007-9-26 15:28:11
I am having a problem with runtime.exec()...I am calling it from a servlet, and when it exectues the command, it uses the /bin directory of netforge as the current working directory. When I call the runtime.exec(command); it executes the command, but it executes it like the /bin is the home ...

Applet Security Problem using JRE 1.4

375 byte By suneet20 at 2007-9-26 15:30:10
Hello friends,I am using jdk1.3. The ie5.5 shows certificate before applet downloads and it is perfectly running. But when i use JRE1.4 i am not able to get the certificate and exception occurs showing classnotfound. Same thing is happening with yahoo chat also.I have used SDK2.0 for signing ...

JDK 1.4 vs. JRE 1.3? (music in applet slow, or not even there?)

901 byte By Bonesaw at 2007-9-26 15:33:13
Hi there, I really have a problem that's driving me mad!I wrote an applet (applet 1) that executes another applet (applet 2) in a screen sized window to do some funny intro.Applet 2 draws some simple text messages in a looped thread, while it 'should' play a music file (.au) in the ...

Where can I find the lastest JRE.EXE?

275 byte By wickedbear at 2007-9-26 15:34:16
Hello everybody,As far as I understand the JRE.EXE program is a part of Java Runtime Environment. I have installed JRE 1.3.1._01, but there is no one. Please, tell me, where can I find this programm?Thanks a million.=Yours respectfully Mike

Xrs option and shutdown hooks

708 byte By gjkreeft at 2007-9-26 15:40:13
I want to use a Java program as a service on Windows NT. I pass the -Xrs option to the VM in order to prevent it from stopping when a logoff signal is sent by the system. A problem occurs when I try to add a shutdown hook in my Java program, the following error is printed and the JVM ...

Reduce the process time..?!! complex algorithm

1355 byte By briskrook at 2007-9-26 15:44:15
HI, I have a complex algorithm which takes almost 900 milliseconds per line to process this . I have to calculate the probability for hundreds of thousand lines. Just imagine if have to calculate this for some 500000 lines which is not feasilble at al.. Can anyone help me in simplifing this ...