I am developing a web application that sends emails to certain people at a specific time each night. However if, tomcat is restarted then it will send the emails 24 hours from this point. So therefore there is no guarantee that the send time will be the same each night. Does anyone know how to ...
396 byte By
petbena at 2007-10-2 20:18:06
I have installed Java RTE 5 update 6 using:msiexec /i "\\server\msi\java"but now I want to uninstall it using:msiexec /x "\\server\msi\java"I get the error 'You already have this version installed please uninstall using add\remove programs" How can I uninstall the msi package using this ...
308 byte By
digita at 2007-10-2 20:18:08
Hi readerIs it possible to have multiple JRE's installed in parallel (e.g.: 1.4.2 && 1.5.x), so different applications needing different JRE's can be run on one machine (...and each application uses the JRE it was designed for...)? ThxMessage was edited by: ...
I want to push this applet to 220 other machines, but I am having inconsistent results with the manual install. I have downloaded the offline install file, copied it to the local machine and run the install as a network and machine administrator with Internet Explorer closed. I am running ...
Hello,I have some question about JRE.1.When three copies of same software opens in windows xp it make them a group and name it javaw.exe but i want my software name and icon not javaw.exe. As in VC++6 you can open the copies of your software as much as you want but it show the name of that ...
Hey everybody.My problem is the following: In my Java application, I start a .exe program using Runtime rt = Runtime.getRuntime();Process proc = rt.exec(command);int exitVal = proc.waitFor();...With the command explorer.exe " http://www.***.com", the java application doesn't wait for the ...
1768 byte By
qatara at 2007-10-2 20:27:47
As an attempt to familiarize myself with Java, I decided to create an applet to display my collection of collectible trading cards so that other collectors could view it and offer trades. The data is stored in a .txt file, which the applet reads when setting things up. The data is never edited ...
how to open a file..and disable the save option.......
439 byte By
s_123a at 2007-10-2 20:33:26
I want to distribute the 1.4.2_09 JRE if not availabe to user desktop using dynamic versioning and object tag. However I am getting a error "Unknown Publisher". I am pointing the codebase attribute in the object tag to the JRE (exe) downloaded from Sun website. Is there a way to digitally sign ...
*************************************************************************## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x003d772d, pid=6408, tid=4488## Java VM: Java HotSpot(TM) Server VM (1.4.2_11-b06 mixed mode)# ...
388 byte By
sujathaa at 2007-10-2 20:42:18
hai friendz.... First time i m using Runtime class.Its working for "notepad" commandRuntime r = Runtime.getRuntime(); Process p=r.exec("notepad"); But when i want to execute any other commands like " dir " or "cd drname" its giving some exception.Java.io.IOException: Create Process : dir ...
Hello,I have an instance of Tomcat 5.5 running with IIS6. When my web app starts up, the first thing it does is reads a custom config file, and starts up a custom logger class. The application, currently requires that the config and log files exists in windows/system32. Which wouldn't be a ...
Our product needs at least Java 1.3 to run.One of our customers needs to run old applets which for some reason I don't know need the microsoft VM. Is there a way to install/run both VMs on the same machine?Udo
i need a localized java installer. but by default it's in english. where can i find a localized one (i need russia)?
Hi guys,I have JRE and JDK 1.5, and for some strange reason it runs excruciatingly slow. My JPanels, limewire, java applets etc etc run sluggishly with terribly slow framerate. what could be causing this?
I'm helping a friend with a new PC. He likes to work the crosswords at washingtonpost.com, which are embedded java applets. For what ever reason, all the clues just show up as boxes where the text should be. This screen shot should help: http://members.cox.net/rtadams89/screen.pngAs you can ...
Hi,My application requires JRE 1.3.1 to run. I have installed JRE 1.3.1 on my system, But IE 6 is not picking it up. In java console window of the browse(IE 6) it is showing 'Microsoft (R) VM for Java, 5.0 Release 5.0.0.3810'. How to make browser point to JRE version ...
Dear all;I have a problem in my computer.When I wen to www.paristamil.com/chat the applient window does not work. But I able to run it other PCs. Please kindly give me solution asap.Thanks
415 byte By
sujathaa at 2007-10-2 20:58:49
Hai Friendz....Currently i m working on mobile agents and webservices.For running a website on my system i using Netbeans.Through this site i m instantiating agent server.But my problem when i want to compile remaining java files during this time,i m frequently facing the problem of ...
Is there an install switch to turn cacheing off for the jvm? We have to turn off cacheing for about 600 users.....
I am bundling a java application in an executable jar file. The application requires a large virtual machine, so it gets invoked like this:java -Xmx300M -jar my.jarBut the end-user only knows how to point and click, and expects to invoke the application by double-clicking on the icon.Is there a ...
226 byte By
jackmsna at 2007-10-2 21:13:03
Hello,i read that it's possible to install jre in silent mode passing some command-line options.Is it possible to do that via browser? avoiding some/all installation steps?Thank you all.Jack
Hi All,how do jre and j2sdk are different ?I have one foldeer in C:\j2sdk1.4.0 and another in C:\Program Files\Java\j2re1.4.2_05. Why so?Is there anything I can do with jre that I can not achieve with j2sdk or vice-versa?Please
Hello,I am working on a program to parse an XML file and get data from it. I am using SAX Parser. The problem is when i give the file name to the parser, it gives out of memory error. The file size is 20MB.Is there a way to rectify this error? I am sorry if this question is already posted in ...
hello-1 if i have a abstract class 2-then i extend it in three deferent classes3-then i have put them in vectorhassan[i ]4-then i have overload function in all three class (move)5- when i try to call this method (hassan.move ) by indexhow compiler work with this reference that are deferent but ...
Hey All:I'm trying to get a value of a registry key by using the 'reg query' command invoked through runtime. i.e.)public static final String OFF_DOMAIN_BRANCHMAX_QUERY = "reg query HKEY_CURRENT_USER\\Software /v BranchMax";...Process process = Runtime.getRuntime().exec(query);StreamReader ...
18788 byte By
filipKa at 2007-10-2 21:32:07
I am trying to run 1.5.0_06-b05 with Tomcat 5.5.9, and the application keeps producing core dumps from the JVM after some period of use. The hs_err file says the following:-## An unexpected error has been detected by HotSpot Virtual Machine:## SIGSEGV (0xb) at pc=0xfee32868, pid=17413, tid=10## ...
On my Windows XP SP2 I see the problem with auto-update. Up to Update 5 JRE never recognized new versions. It happened *only once* when I've updated my system from Update 5 to Update 6 via auto-update. Now again Update 7 is present on Sun website but Java Control Panel reports "You already ...
Firstly, I apologise that I know very little about Java and if I've omitted any important information here I may need precise instructions on how to find it out.According to the Add/Remove Programs menu, I have 'JS2E Runtime Environment 5.0 Update 6', version '1.5.0.60' installed.My ...
I've got Windows XP Home and I had a quick check in Add or Remove (in Control Panel) and realised that I've got: -J2SE Runtime Environment 5.0 Update 5 andJ2SE Runtime Environment 5.0 Update 6I've read that Java Runtime Environment 1.5.0.7 is available.I also heard that some older versions ...
Exception in thread "AWT-EventQueue-0" java.lang.ArithmeticException: / by zeroat rational.<init>(rational.java:32)at rationalnumber$ButtonHandler.actionPerformed(rationalnumber.java:86)at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)at ...
can a JTextField component generate a KeyEvent? Is it possible for the class used to create JTextField object implements KeyListener and fufilled a keyTyped or a keyPressed method created by a keyListener interface
Hi All,I'm really sorry i'm askin a naive question. when we create a new string object or for that matter any object by writing String str = new String("Hi!");who allocates memory for the object; the JVM or the underlying operating system. Also i would like to have some references for the ...
Is it possible to set preferences (as in java.util.Preferences) from the command line?For setting system properties you can used java ... -Dkey=value. Can I do something similar for setting a preference?RegardsAndreas
Hello I need to run a dos command through java . Please guide meit is very urgent
We know we can declare a variable in a class scope. Like below:class MyClass{int a;String b;public static void main(String args[]){ System.out.println("Value of a is:"+a);}}But we can't call any method in a class scope. Like below:class MyClass{int a;String b; System.out.println("Value of a ...
I am getting java:- cannot execute message. When i am trying to execute the java.exe from the installationdir/bin. I am running it on Ultra 10 machine. I have checked all the possible permissions of the files.
900 byte By
josc002a at 2007-10-2 21:57:05
HiI have an application that runs from JRE 1.4.0_XX to JRE 1.5.0_06 The app sends a session id to our server in the http header...HttpURLConnection tc = (HttpURLConnection)repository.openConnection();tc.setRequestProperty("Cookie", "SWSSTATE_GLINK=GLVTOKEN(1AB13228B86B47BE00292ADD)");..Now this ...
I'm running under windows XP and I can't modify classpath from command line, like:java -classpath directory\something.jar;directory\something2.jar -jar my_jar.jarnote that earlier i did use a MANIFEST.MF file to do this, although there was an error so i checked, if adding external jar-s that ...
Hi All!I need to get username under which user had logged in. How can I get it from my java code?
912 byte By
skincera at 2007-10-2 22:04:20
We have a java desktop app and some java applets that were all coexisting fine. We got a request to install a new desktop app (GNav Pro from NEC) and it breaks the other java apps. When one of the other apps fails, it gives a message about not being able to find the java runtime. So, I'm ...
354 byte By
ConnieCa at 2007-10-2 22:04:56
Hi,When I set the icon on the JFrame ( this.setIconImage(...) ) , everything seems well except when I dispose this JFrame, the garbage collector doesn't free the memory. If I don't set the icon the memory is diposed. I have tested this code with netbeans profiler on Linux and Windows and the ...
Hi, I'm not very experienced with Java and I've got this little problem :I'm working on an app (name : AppStarter) that can be used to launch a bunch of app from elsewhere on the network (just wanting to take them all under one roof!) When the AppStarter start with certains app already ...
I had an issue viewing mechanical plans at a particular website. I tracked down the problem to be authentication with ISA proxy server. By installing the lastest version of JRE, 1.5.0_07, I am able to change a network setting to use "Direct Connection" instead of "Use Browser Settings". This ...
783 byte By
Asawaria at 2007-10-2 22:20:35
Hi,We are calling shell script to spawn scp (secure copy) in Java. JVM version is 1.4.2. While trying to invoke this shell script on JVM 1.4.2 in UNIX environment, it doesnot give desired result. Either it gives the error as :1)"The authenticity of host 'sxfer01.bluecrossmn.com ...
199 byte By
rd2006a at 2007-10-2 22:22:09
I'm having trouble getting JRE working under Windows Vista beta2. Not even the JRE 6 beta works with the new OS.Anyone having similar problems, or know how to work around this ?
Hey guys,I'm running a website in Windows Server 2003, and I have embedded a small applet object on one of the pages. I've tried running it via standard class file and via jar executable, but in both cases when accessing the page remotely I get popups from the server requesting a password to ...
Hello, all ... rather new newbie here ...(This is not actually in reply to the opening post, but the thread topic seems to best fit my problem; so I'll put it here instead of starting a new thread.)Currently I have J2SE, with JRE 1.5.0_05, on my WinXP Home box (SP1+the latest ...
When I inadvertently let the 5.0 JRE install on my machine, I started getting a "Runtime Error!" in MS Windows Explorer.The error was like this:Microsoft Visual C++ Runtime LibraryRuntime Error!Program: C:\WINNT\explorer.exeThis application has requested the Runtime to terminate it in an ...
We have a production app (deployed via WebStart) that has been working properly for a while on Windows XP with JRE 1.4.2 and with JRE 1.5. Users have begun to use the app on machines with Intel chips that have HyperThreading enabled. They are experiencing Java.lang.OutOfMemoryError: Java heap ...