making a thread run at a certain time each day

385 byte By jonesy21a at 2007-10-2 20:17:26
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 ...

Uninstall RTE

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 ...

Multiple JRE installed

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: ...

problem installing java plugin from jre 1.5.0.06 on EXPLORER - Win XP Pro

550 byte By BMHARGROa at 2007-10-2 20:21:51
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 ...

Why JRE?

712 byte By pasion_of_christa at 2007-10-2 20:24:52
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 ...

My java application doesn't wait for my runtime process to finish

580 byte By JustAnotherJavaUsera at 2007-10-2 20:25:04
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 ...

Applets and File I/O

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 without providing the user saving option?

61 byte By ruchi.lallaa at 2007-10-2 20:32:21
how to open a file..and disable the save option.......

Distributing JRE 1.4.2_09

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 ...

EXCEPTION_ACCESS_VIOLATION zip.dll crash

13337 byte By ashishparkhia at 2007-10-2 20:40:50
*************************************************************************## 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)# ...

friends plz help me in solving Runtime.exec() problem

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 ...

Tomcat 5.5 JRE Working Director

932 byte By schmitzcja at 2007-10-2 20:42:34
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 ...

Running SUN JRE and Microsoft VM in InternetExplorer on the same machine

238 byte By udo.corbana at 2007-10-2 20:43:41
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

Java localized installer

124 byte By suka_bliata at 2007-10-2 20:43:48
i need a localized java installer. but by default it's in english. where can i find a localized one (i need russia)?

JAVA RUNNING SLOW please help driving me nuts!

218 byte By hellhawk123a at 2007-10-2 20:50:30
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?

Java applet shows boxes instead of text

668 byte By RTAdams89a at 2007-10-2 20:50:51
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 ...

Pointing Browser to Sun JRE

324 byte By vineetchoudharya at 2007-10-2 20:55:21
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 ...

Applet Problem

209 byte By cyberguy_77a at 2007-10-2 20:58:06
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

plz let me know why i m getting java.lang.OutOfMemory Exception

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 ...

jre 1.4.2_08

121 byte By paragon_guya at 2007-10-2 21:00:18
Is there an install switch to turn cacheing off for the jvm? We have to turn off cacheing for about 600 users.....

java options in executable jar file

407 byte By sbernstea at 2007-10-2 21:04:52
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 ...

JRE SILENT Installation through Browser

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

jre and j2sdk difference?

298 byte By ayusman_dikshita at 2007-10-2 21:17:09
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

Out of Memory Error while parsing XML file

382 byte By Prasanna_1984a at 2007-10-2 21:20:09
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 ...

Abstract classes and extend

523 byte By Hassan_Alia at 2007-10-2 21:26:44
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 ...

Launch reg query as /user:services through a Java App

1053 byte By mikeyfreakea at 2007-10-2 21:27:07
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 ...

1.5.0_06-b05 produces core dumps

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## ...

JRE doesn't notify about the update

469 byte By GrzegorzWa at 2007-10-2 21:36:36
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 ...

Windows crashes upon Java exit.

1363 byte By ExplodingCabbagea at 2007-10-2 21:36:57
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 ...

Quick quesion about installing newer versions of Java

529 byte By untitled_1a at 2007-10-2 21:39:48
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 error !Please help me!

8343 byte By Deathdealersa at 2007-10-2 21:41:17
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 ...

Event Handling Question! Please help me!

221 byte By GhostRecona at 2007-10-2 21:42:00
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

Allocation of memory

382 byte By Cipher1024a at 2007-10-2 21:46:45
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 ...

Set preferences from command line

245 byte By awarberga at 2007-10-2 21:47:09
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

Help needed

95 byte By techy2youa at 2007-10-2 21:48:33
Hello I need to run a dos command through java . Please guide meit is very urgent

very basic question on class

1072 byte By abhinabaa at 2007-10-2 21:54:23
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 ...

getting error:- java:-cannot execute

216 byte By GSINGHALa at 2007-10-2 21:55:31
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.

Sending cookie with JRE 1.5.0_07 doesn't work

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 ...

modifying classpath

638 byte By gnatozuia at 2007-10-2 21:58:08
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 ...

need to get UserName of windows session

111 byte By bemtailla at 2007-10-2 22:01:30
Hi All!I need to get username under which user had logged in. How can I get it from my java code?

Installing New App Breaks Others

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 ...

setIconImage on JFrame locks the GC

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 ...

Problem with Runtime.getRuntime().exec(command);

1179 byte By PeterXmasa at 2007-10-2 22:17:28
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 ...

JRE install and config

832 byte By totalstua at 2007-10-2 22:17:42
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 ...

Problem while spawning scp (secure copy) in Java

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 ...

Java Run Time Enviroment and Windows Vista

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 ?

Running applets in Windows Server 2003

796 byte By Taki_Fritza at 2007-10-2 22:36:04
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 ...

bug(?): update won't install

941 byte By Silverhilla at 2007-10-2 22:40:03
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 ...

JRE 5.0 and MS Runtime Error!

800 byte By Mattwm6698a at 2007-10-2 22:40:12
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 ...

OutOfMemory error and HyperThreading enabled

2688 byte By trying2learna at 2007-10-2 22:40:18
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 ...