191 byte By
eopetera at 2007-9-27 10:02:12
Hey brains,I wrote a java application and would like to make a setup program to install my application on various computers for use. How do I create a Installation Setup. Thanks
I'm starting two concurrent processes (in two different JVM) which try to log rows into the same file (p.e. "account.log").Because of the concurrency, java creates some auxiliary files like "account.log.lck", "account.log.1" (log file for one of the processes) and "account.log.1.lck".How can I ...
how can i download jsdk and jdk from internet
I'm starting two concurrent processes (in two different JVM) which try to log rows into the same file (p.e. "account.log").Because of the concurrency, java creates some auxiliary files like "account.log.lck", "account.log.1" (log file for one of the processes) and "account.log.1.lck".How can I ...
All rows that I'm sending toward the log file are visible also in the standard output.Is there a method to prevent this effect? Thank you,Francesco Innocenti
Hi,I'm using JDI for monitoring and manipulating another jvm running on the same machine.For retrieving the stackframes of a thread, I call thread.frames(). This call is said to raise a IncompatibleThreadStateException if the corresponding thread on the debugged jvm is not suspended. However, ...
285 byte By
b1ixgana at 2007-9-27 10:34:07
Has anyone had a problem using class.forName with 1.4? It compiles alright but I get a runtime VerifyError like this: method: init signature: (Ljava/util/Properties;)V) Incompatible object argument for function call. When I run the same code in 1.3.1 it works fine.Isaac
Anyone know if all the warnings that JDK 1.4.1beta is spitting out on the command line are something to worry about? Examples below. I'm running it on a RedHat Linux 7.1 system, installed from Sun's RPM.--Gavin Scottgavin@pokerpages.comWARNING: Could not lock System prefs.Unix error code ...
I run Tomcat 4.03 using this Windows XP shortcut command:D:\jdk1.4.0\bin\java.exe -jar -Duser.dir="D:\Tomcat4" "D:\Tomcat4\bin\bootstrap.jar" startwith this as the initial directory:"D:\Documents and Settings\Chris Cant\Start Menu\Programs\Apache Tomcat 4.0"If I use FileInputStream("afile") ...
577 byte By
safira at 2007-9-27 11:04:46
Hi,i've noticed that my app is running a lot slower in XP than it did in 2000. The problem isn't noticeable for simple tasks, but whenever there is looping and file processing it appears to be a lot slower. Plus, that one app being run also makes simple tasks a lot slower: like compiling a ...
303 byte By
tyagia at 2007-9-27 11:10:26
FolksDoes anyone know the FCS date for JDK 1.4.1 (out as a beta now) ?We are starting on something which need some bug fixes from 1.4.1, butbefore I make that decision, I need to know when is it gonna be released.Would it be end of the year ...
Please will anyone help direct me to get information on developing webcam software in jdk1.4.Are they any good web site out there, Or tutorial for development of webcam software.Thank you in advances =)email address: oscarf2000@yahoo.com
do JDK (e.g. JDK1.2) same with J2SDK1.4.0 ?
205 byte By
acinoma at 2007-9-27 11:22:01
Hi,I have a JTable. When i select one cell i would like that the row and the column suitable, appear in other color. (Not only the cell)How can i do it?Thanks in advance, MONICA
202 byte By
lambu76a at 2007-9-27 11:33:09
Hi guy,i've to create and handle a new event.how can I do it ? what classes or interfaces have I to extend and create to do it ?where can I find something usefull?THX
there are decompiling tools for java code. so is there a way to hide my code from this kind of tools.
I downloaded J2SDK1.4.0 for windows 98 and it says to set the path permanently to AUTOEXEC.BAT file.I found the file ,opened it and this is what it reads : SETCLASSPATH=C:\ProgramFiles\PhotoDeluxe2.0\AdobeConnectables, in this path where do i insert \J2SDK1.4.0_<version number >\bin? ...
I'm just beginning with Java. I've downloaded j2sdk1.4.0_01 for windows and installed it in my computer under Windows 2000 as Advanced User. Then I realize my error, desinstalled it and reinstalled as Administrator. All installations/desinstallations were very slow. At last I tried to run my ...
I needed font encoding implemented in javax.swing.text.rtf rtfreader, so I made a few handy modifications to it so that it supports the rtf fcharset font modifier. I also created some unicode conversion tables needed for this to work (easteurope, arabic, turkish, russian, baltic, hebrew, greek ...
HiI am trying to use javax.comm to address serial ports via an applet. The applet is signed to allow access outside the "sandbox". When I call the function CommPortIdentifier.getPortIdentifiers() the applet "hangs" - it never returns from the function, and no Exception is generated.The code ...
Hello Java experts.i desperately need your help.i need to download a Java compiler (for windows), and thefollowing documentary. i was told i should download the JDK and SDK. but there are so manyoptions in the downloads site, and i'm quite getting lost there.can you please direct me ...
304 byte By
manashp1 at 2007-9-27 13:22:24
After downloading J2sdk 1.4 from Java Sun site, it was stored on my windows system as j2sdk-1_4_0_01-linux-i586-rpm.bin file. I did ftp to this file to a location in my Linux box. But I am unable to extract the .bin file to .rpm file.Somebody please guide me to get the file in .rpm format. ...
208 byte By
oam77 at 2007-9-27 13:48:47
Hi! I'm evaluating work of some VM and I need class files compiled with different Java compilers. If you know any Java compiler (except javac:) ) could you please tell me about it?Thanx.
873 byte By
ph0b05 at 2007-9-27 13:57:15
I downloaded the latest .bin, and when I do a". [filename.bin]" from the shell, the installation starts by showing my the license agreement. At the end when I go to press 'y' to agree to the terms, the install halts by displaying the message invalid checksum. It says that the filesize is ...
726 byte By
wholper at 2007-9-27 13:57:39
Hey Gang, I am wishing to run the J2SE (specifically Java 1.3.1) on an older HP-UX 10.20 series 9000/700 box for some specific development, except neither HP nor SUN has ported this version for HP-UX 10.20. Can anyone tell me ...1. Where to find some binaries/source files for HP-UX 10.20? OR ...
766 byte By
BoBear at 2007-9-27 14:00:15
Hey everyone,Sorry if this is the wrong place to post my question. I am writing a little application and have an instance of a ServerSocket, and I would like for it to be able to accept clients any time a client tries to connect. In other words, the server doesn't know when the requests are ...
489 byte By
mvantuyl at 2007-9-27 14:13:56
I've been using Java (JDK 1.3.1_02) under Windows (98, NT and XP) and Debian/GNU Linux without any problems. I've recently started using FreeBSD Unix and am encountering a problem whenever I either compile orrun a Java program. After issuing the command, I get the messageexpr: syntax errorbut ...
Im intend to install windows Xp on my pc. But i want to know wether I can run JSDK 1.2 or later on windows XP?
977 byte By
fharrell at 2007-9-27 14:25:30
I posted this same message in another forum, but nobody knew how to help me. Hopefully someone here will be familiar with my problem. I opened the autoexec.bat file using sysedit (I'm running win98 on a MicronPC laptop), but instead of the usual statements that I'm used to seeing, there was a ...
Hi everyone!Is there any simple way to build a Java archive from your own classes + the classes you depend on from another Java archive?I want to compile code created in a JBuilder project and build an archive, all from a batch file. In JBuilder, when you build an archive, you can select to ...
1072 byte By
BoBear at 2007-9-27 14:40:24
A few days ago I started coding a java app just for fun, to see if I could do it, and I'm beginning to run into difficulties that make me wonder if I can actually do what I want to do...I'm basically creating a simple instant messenger program with a swing GUI. I have made a simple server and ...
905 byte By
glange at 2007-9-27 14:45:50
Hi I have RedHat 7.3 and sun's SDK 1.4.when I issue the interpreter command such asjava-jar SwingSet2.jar the program runs but before it does I get the warnings:Warning: Cannot convert string "<Key>Escape,_Key_Cancel" to typeVirtualBindingWarning: Cannot convert string ...
541 byte By
badams77 at 2007-9-27 14:55:43
Is sun going to port java to x86-64? I know there porting it to itanium(what are they thinking supporting there biggest threat as a hardwarevendor).At present my company runs a RAM dependent java applications on16 (2*Athlon MP) linux boxes each with 3GB of RAM. Given our hugeram usage we ...
421 byte By
msalline at 2007-9-27 14:58:04
Hi,I have a little problem, on my computer I have JDK 1.3.1 installed and I want to compile an application to Ipaq running Jeode virtual machine version 1.9 that supports personal Java 1.2. Is there a chance to give some flags so my JDK knows that it should compile the program using the ...
450 byte By
skyford at 2007-9-27 15:23:39
Hi, I need a quick help, please...I was told there is a java_g command in hotspot jvm that is a non-optimized version of java, and can let the jvm doesn't no dosome thing optimization such as refuse to inline any method.But I can not find such a command in my jdk1.3/bin or jre/bin directory. ...
114 byte By
bootpe at 2007-9-27 15:29:06
I heard that 1.4.1 requires Solaris 2.8.Can someone confirm or refute this?Peter Booth
990 byte By
jmacenri at 2007-9-27 15:36:42
I have a multi-threaded server application that I have built and run on JDK 1.3The application is a socket listener which creates a new thread for each connection accepted. Each thread has is own connection to an RDBMS and uses JDBC, but they share a couple of things passed to them in their ...
I'm working on a GUI application using 1.3.1 that is deployed on some pretty old Solaris SPARC workstations. I'm trying to find the minimum hardware requirements for 1.3.1 on a SPARC. (I found the operating system information.) So far, all I've found is the information for Windows ...
In the Bug Database I always come across references to a Java 2 release 1.4.0_02 and since many of the bugs I am running into seem to have already been fixed in 1.4.0_02I would really like to use it. We have to deploy the new version of our program by mid september. I guess 1.4.1 won't be out ...
646 byte By
gmmax at 2007-9-27 15:39:57
I've downloaded Java 2 SDK and installed it on my Windows XP-based machine and got a problem. I faced with the message like " Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.C:\Documents and Settings\Max> javac HelloApplet.javaRegistry key ...
275 byte By
faisalpk at 2007-9-27 15:43:01
Please tell me how to do a Reverse DNs in java e.g IP address of a network machine is 192.168.0.30 Then how can i get its name (i.e machine name)? I know that i mus thave to use a jdk 1.4 Please prvide a full solution. Thanks.
156 byte By
dkoes at 2007-9-27 15:59:53
This is a repeat of another post.Does anyone have the slightest inkling when this will be out?Before September 2002? Any chance?
Hello!System.out.println(1.01 + 2.02);says3.0300000000000002 instead of 3.03.Why?
441 byte By
a_kasami at 2007-9-27 16:08:44
Hi,I've just installed JDK 1.4 and Sun ONE studio CE (forte 4) on WinXP platform. The installation is successful, but the Forte cannot be lanuched (nothing happens) after I double clicked the Forte icon on my desktop even I run the runidew.exe from the command line. I also checked the task ...
464 byte By
zaaba at 2007-9-27 16:27:52
I am running Red Hat 7.3, with OpenLDAP and J2sdk 1.4.0.I am following a tutorial to connect to the the LDAP through JNDI, and it says to create a hashtable like so:Hashtable env = new Hashtable();[root@localhost sbin]# Hashtable env = new Hashtable();bash: syntax error near unexpected token ...
Installed 1.4.1_01 on Win 2000. My Java application used to run on 1.3.1. It compiles and works fine, until I do something that causes the screen to refresh, such as scrolling or resizing the window. This causes the java process to get 95%-100% of CPU time and makes everything painfully ...
373 byte By
bxm_3 at 2007-9-27 16:44:00
I cannot seem to get the JDK to work. When I double click on the icon I am put through the installation process.When I go to Java Web Start there is no (.exe) file.I cannot get applets to work without it.I have tried to get java applets to work but I think it only work on this JDK platform.How ...
1987 byte By
ozakca at 2007-9-27 16:51:16
Hi,I have a couple of questions regarding the new print api that comes with JSDK 1.4, JPS.1. We have a barcode printer, which we'd like to print using Java JPS. Our attempts are shown here:DocFlavor doc_flavor = DocFlavor.SERVICE_FORMATTED.PRINTABLE;PrintService print_services[] = ...
1039 byte By
tong_su at 2007-9-27 16:55:48
Hi, allI am playing around with java.util.logging in jdk1.4. In particular, I am using a properties file for configuration. However, one thing I couldn't do is to assign a handler, such as the ConsoleHandler, to the com.xyz.foo logger. Everything for the root logger works just fine. Here's ...
6418 byte By
ozakca at 2007-9-27 17:08:03
Hello,We are trying send printer control codes to a printer. Actually we are able to send them and get the output. The code snippet is:// sanity checks are strippedDocFlavor doc_flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;PrintService print_services[] = ...