I'm playing with the Java Monkey Engine ( http://www.jmonkeyengine.com). When I exit the demo applications, I either get a hard crash with the JVM or a thread somewhere hangs around and I have to forcably exit the program. Any ideas whether it is a problem with the JRE or the Java Monkey ...
324 byte By
zetaa at 2007-10-2 22:45:27
I have my machine with 8GB memory and 5gb swap space.i have given Maximum heap size as 2gb and minimum as 2gb. and when i start jboss application server with this configuration i get Error occurred during initialization of VMCould not reserve enough space for object heap~plz ...
492 byte By
Susiea at 2007-10-2 22:47:34
Is there a setting or script etc to load Java Plug-in quicker or at startup?We have identified that loading of the Java Plug-in required by an in house application as the cause of the delay (about 13 seconds are added due to the loading of the plug-in). Is there a way for us to safely and ...
498 byte By
NANDANa at 2007-10-2 22:49:25
Hi,I am using the command :--Runtime rt = Runtime.getRuntime();Process proc = rt.exec(script);--Now when I run any script, I become the superuser of the unix shell, which I dont want to be, for security reasons.I would like to know ..how Runtime executes any script as the superuser however I ...
Iam new to java technologies and recently I have to deal with java classloaders. I cant find too much examples codes on classloaders. So can anybody suggest a better example codeon classloading
I tried to display an applet in Internet explorer. If i m enabling "Use Java 2 v1.4.2_11 for <applet> (requires restart)" option in IE's Tool>Internet Otions>Advanced, the image is getting opened in IE. But if i am not enabling this option i am not able to display the image. Can ...
HiI need a way to be able to edit the -JVM arguments for a program. The only way I know how to do this from the exe is to edit the target of a shortcut.This works fine, but I want the users to be able to edit the memory allocation -Xmx in my actual program through a GUI, rather than have to ...
693 byte By
dhbritta at 2007-10-2 22:54:12
I have set up an application to fill out and send to me giving me the information from the file at a requested email address.The problem is, when any one besides me goes in, it seems to work fine. When I access it from anywhere, I get the same error message. The message is: ...
509 byte By
mbrijuna at 2007-10-2 22:55:31
Hi,we run multiple java applications on our Windows 2003 server. It is diffucult to monitor these processes as they all appear as "java.exe" in the Windows Task Manager > Processes.Is there a way to specify a name for such a process? My colleague has suggested creating a copy of java.exe for ...
Hi all,I need to execute the commandjava -jar %JAXB_HOME%\\lib\\jaxb-xjc.jar -d c:\abc abc.xsd as part of a Java program.Plz let me know what are the various ways to do the above task? and also is there any other way we can do it by using eclipse framework ...
Hi,I have the signed applet code in JDK1.1, and for the same code base size of jar file is larger then cab file, this is because of insertion of Manifest files in the jar.Now I am executing the same code using both JRE(jar file) and MVM(cab file). But I am observing time difference between the ...
237 byte By
niemayda at 2007-10-2 22:57:48
Just a small question: I'm using the preferences API to store settings. I just looked around, but I didn't find where these preferences are saved... I mean in what file!Can anyone give me a small hint? Thnks a lot!
hi Now l use the jdk1.6.0 ,but l meet some problem as follows:l have install the jdk1.6.0 and jvm but l can not run jdk1.6.0\demo\ (applet)when it show the error message " can not load java jvm from <\bin\server\jvm.dll>" ,My OS is Microsoft Windows 2000 professional.l choose to download ...
238 byte By
Hamira at 2007-10-2 23:01:26
We were running jre 1.3.0_02. The image upload functionality was working fine with this version. But after upgrading to jre1.3.1_15, the uploaded image shows correct file size but it gets corrupted.Please help.
Hi,very recently I have a very strange problem. whenever I open a file dialog on windows with a java program, the cpu load goes to 100% and I have to kill the process. It does not make a difference which java application I choose, it happens with dbvisualizer, freemind or ldapbrowser all the ...
Hi all,I am trying to parse an ASP page from outside the web server or IIS itself using java.Is there any open source API available for this purpose. Say for instance, DOM or SAX for parsing XML.Any java experts? Opinion needed ASAP.Thanks in ...
I am in desperate mode here, so I appreciate any help...I just installed 1.4.2_08 on my Citrix environment. I have a GPO that only allows 30mb of data to be saved in their profile and this is the max that I can make it. The problem is that the website created that uses this version of JRE ...
I tried to install oracle8i enterprise edition 8.1.7 to RHEL4, the problem is the following error is seen."unable to initialize threads:cannot find class java/lang/threadcould not create JVM"Does anyone have any ideas how to solve this problem?Thanks in
hi ChuckBing thank you very very mush for your reply( Either you, at the command line, or an option (possibly in JRE_HOME\Java\jre1.5.0_07\lib\i386\jvm.cfg) is requesting the server version of java, as opposed to the client version - and you don't have that installed.Either change *something* ...
is there any way to find out how many memory is used for nio in a virtual machine. ?I know that is possible to find out how many total, free and used memory the heap has by using java.lang.Runtime#totalMemory... We sometimes expect errors that it is not possible to create any more connections ...
How do I determine what versions of the Java jre are installed under Windows. I need a general purpose way and not a Java API as I am not programming in Java to determine this.
hi ChuckBingaccording to your instruction, l check the -server option is specified in the Java Runtime Settings on the Java tab of the Java Control Panel,there is nothing parameter there ,l mean it is empty. l specified the -client option ,run a applet but it show the error message just the ...
Hi,1) can u tell me abt singleton class when & where it is used.Plz answer
How can i get win32com.dll for windows environment please give me exact url from where i can download
Hello guys, I prepared a jar file. It was running more than one at a time. ie suppose click 10 times its running 10 times at a time. I want to restrict this king of multiple instance. please help me. Its Urgent....
288 byte By
sujathaa at 2007-10-2 23:22:16
friendz... Plz let me know about the above exception... When i want to use oracle xml utilities from Aglets which is nothing like applet, i m getting exception likeaccess denied (java.util.PropertyPermission oracle.jserver.version read)Thanks in Advance
We recently upgraded from 1.4.2 to 1.5.0_06, which now defaults to the Parallel GC when in -server mode.We are running Linux on a dual-processor system with hyper-threading Intel chips (4-CPUs). Depending upon the workload, after anywhere from 15 minutes to 1 hour, 2 or more of the GC Threads ...
1286 byte By
Vix-a at 2007-10-2 23:25:17
I wasn't sure where to ask this so i figured here.I recently reformated and reinstalled Win2k on my system. Prior to the format I had no problem with Java, all apps started up in no time flat.Now, just about any Java App (Netbeans and Azureus right now) take forever to start, upon executing ...
1034 byte By
MLB4a at 2007-10-2 23:25:20
I am running Windows XP Media Center and since Microsoft updates for Active X Controls I have had alot of new issues with my video, flashplayer and plugins. Finally got everthing done but I have not been able to update Java2 SE 1.4. It says my settings are not set up properly.I worked with ...
525 byte By
hsilgnea at 2007-10-2 23:25:21
AVG virus checker is identifying 6 virus files in Java folder. Are these for Java security or real viruses?2 E.G.s :Virus identified: Java/OpenStream inC:\Windows\Application ...
Hi!I am trying to compile a project (using NetBeans 5.0) using the latest JDK1.6. The project fails to compile producing error below.However I am able to compile each package in the project one by one which wonders me.Any idea what causes the problem?Regards,Jesper__## An unexpected error has ...
Hi!I wrote an application in Java 2 which does some digital image processing. The application does extensive processing of integer matrices, for which I use a third party package for matrix manipulation. This package performs very well indeed.What currently bothers me is very slow performance ...
4585 byte By
tartura at 2007-10-2 23:34:33
We recently upgraded from 1.4.2 to 1.5.0_05/06/07 and we are running a Linux 2.4.21 on a multiprocessor plateform (x686) with 4Giga RAM. Till the upgrade we have frequently a JVM crash!we use -Xmx1280m option and with the -XX:+PrintGCTimeStamps -XX:+PrintGCDetails options we obtain the ...
642 byte By
feha at 2007-10-2 23:34:56
I need to load a class that exists in more than one jar file that is on my application's classpath, and I need to be able to control which one is loaded. As an example:foo.bar.1.jar contains a class named feh.classfoo.bar.2.jar contains a class named feh.classThey are separate and distinct ...
184 byte By
Sheni_a at 2007-10-2 23:35:21
Hi,While running a application I got NoClassDefFoundError. But there is no name of the class that is missing. Is there a way to know which class is missing?~Vinaya
403 byte By
ahujava at 2007-10-2 23:36:00
Hi,Is there a JRE Update to be released anytime soon dealing with the US Daylight Savings Time changes? A similar update was released for the DST changes in Australia (JRE 1.5.0 Update 6). The link to information page is: http://java.sun.com/developer/technicalArticles/Intl/AusTimeZone/If there ...
12400 byte By
AiNsTaIna at 2007-10-2 23:40:45
tryning to play an online IE game but it crashes all the time on me and i got several off these messagesafter reinstall of windows and java the problem still occurs## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7177ec, ...
631 byte By
Guzzaa at 2007-10-2 23:43:03
using my PC, often i will use java runtime env. to operate websites, games and programs. whenever i close an process that is involved with J2SE my computer crashes and restarts, when logged back in, the recovery message blames the crash on my ATI graphics driver, although i find it to be ...
282 byte By
my2keia at 2007-10-2 23:47:42
When I start my Application by usingjavaw myAppit is shown in the Windows Taskmanager as Process javaw.But if rename javaw.exe to myAppVM.exe, then in Taskmanager is showed as Process myAppVM.Rename javaw.exe, It is violation of Jre Sun licensing?
186 byte By
ahujava at 2007-10-2 23:56:07
Hi,I would like to know the changes that have taken place in the new JRE version 1.5.0 update 6 as compared to the older version 1.5.0 Update 2. Thanks,Vinay.
Very general question:Is there a way to specify a directory that holds a bunch of .jar files within the command line so that all those .jar files are loaded into the ClassLoader instead of having to do a class path entry for every .jar file?Any help would be appreciated.
I have an Intel dual pentium 4 processor that claims to support 64EMT. I was thinking about loading Windows 2003 Server 64 bit edition with JAVA to test our JAVA product we sell. I found out though that for Windows the current JRE only supports the AMD64 processor. Does anyone know when they ...
25460 byte By
elpilotea at 2007-10-2 23:58:46
Hi folks,I am facing the error message attached below. During working with the Java VM it suddenly crashes.Changing the version is no option unfortunately, as this is an client application and the server requires version 1.5.0_03.Thanks for any help...--## An unexpected error has been detected ...
when i try to use browser based java games and websites nothing loads or for java based ads a little ? appears i am using microsoft internet explorer 6and have latest version of sun java
Hi.I've installed j2ee 1.5 but its jre is not recognised by my PC.The path is properly set (C:\Sun\AppServer\bin) and if I use eclipse and I make it to look for a jre in the installation folder, it finds it and I can run my programs, but with that exception, nothing is working (i.e. neither ...
209 byte By
Rashha at 2007-10-3 0:03:35
What is the command to pass parameters to an external progarm from Java interface? I mean how should the exec() command be modified in order to pass paremeters to the external program.. Thanks...
480 byte By
enteura at 2007-10-3 0:04:40
I have an applet that sometimes give me a "Java heap space error" in Internet Explorer.I am not really sure why the Applet goes out of memory (it is always what Java Heap Space error means i think ?) .How can I from inside Java see how much Ram is in use ?How can i find the Java Runtime Proces ...
331 byte By
basharfa at 2007-10-3 0:06:58
Hello All, I need your help, please dont hesitate to give me the correct anser. As we all know that java is platform independent, ok, but how is it platform independent while there are different JRE versions each for a specific operating system, iam confused, please help!!!!!! I will be very ...
hello all,we are facing a quite mysterious problem: web applications with self programmed applet framework are no more running on 2 of 4 webservers. client uses sun java v1.5.0_0x, 3 servers are running W2k3 with IIS6 and one is running W2K with IIS5. The latter one andone of the W2k3 are fine ...
479 byte By
ahujava at 2007-10-3 0:14:54
In JRE there is a directory called, "ZI" located In <javahome>/jre/lib/zi which carries the time zone information.The latest JRE 1.5.0 Update 7 includes a patch for the changes to be made in DST next year. Suppose if we copy the ZI folder from Update 7 and paste it where the ZI folder of ...