Hi,I was trying to run a simple "Hello World" application using rmi.All the client, server, remote class, remote interface, stub and skeleton files are in the same directory.remote class - Hello.javaremote interface - HelloInterface.javaclient - HelloClient.javaServer - HelloServer.javaI ...
152 byte By
tleis at 2007-9-30 16:38:44
GreetingsI have SDK1.4.1 installed on my pc, can i install SDK1.4.2 without removing the SDK1.4.1?and would there be any conflicts?
A simple program Class test {public static void main(String args[]){System.out.println("Working");} }When this program is executed, it should not print "Working" in Command Prompt.Instead it should create a file System.out.log and in that file it should write "working".How to do it ...
230 byte By
ro_omar at 2007-9-30 16:42:22
Hi.I would like to develop some software using JSDK. This software will be distributed to more than 400 people.I don't want to make it wrong. So, do you know if there's a problem with the license?TIA.
I'm looking for a Java library to generate PDF documents. I don't need to read them, I just need to write.It would be nice if I could generate them from a XML template.I've just found a long list of libraries to read and write PDF ...
445 byte By
tleis at 2007-9-30 16:43:36
Hello,When I compile a java file in Visual J++, i get compilation errors. I guess Visual J++ is a version of java owned by Microsoft and it's not related to Sun's Java. i have some question about this:- Is Visual J++ able to use the j2sdk1.4 to compile it's files instead of it's own ...
366 byte By
tleis at 2007-9-30 16:43:38
HiI'm creating a project that gets a multiple choice answer sheet from a scanner and i should be able to read if a certain region is checked or not. till now I don't have any ideas how to do it. I think it's something related to OCR.Can you please help me with some suggestions, links, ideas ...
324 byte By
mauroarc at 2007-9-30 16:45:49
Hi,Is there a standard solution in jdk api(standard or enterprise) to monitoring other java process?For monitoring i need:--Start a java process--Stop a java process--Check status of a java process, so if a java process is running or not.thanks for any suggest,Mauro, ...
Is there a brief summary of all the advantages (not with bugfixes or changes) of the new JVM?- smaller memory footprint- autoboxing,- generic types- enumerations... what else?
158 byte By
M.Alma at 2007-9-30 16:47:09
At java.sun.com there is a linke to 'J2SE 5.0'. Why J2SE and not just JSE ? Imo the version number of JSE can either be 2 or 5, but not both ?
I am recently working on a project which deals with remote login and file transfer between clients. I have discovered that i can not use socket programming as i will not be able to achive some importants features of the system such as the ability to log in to another system, as the socket ...
Hi,I am new to java.. i have created two butons and the objective of first button is to print a string( Say "Hello world") till the next button is pressed.so Button1 : prints "Hello World"Button 2: Exit.Iam facing problem in the 2 nd button, since it is not allowing me to exit.can some body ...
407 byte By
mlgiroux at 2007-9-30 16:48:40
Is it possible to obtain the name of the class without having an object? Ex:public class MyClass {public static void main(String[] args) { System.out.println("My class name is" + <I need help here>);}}Without actually creating an object, I do not see any way to get the name of the class ...
150 byte By
gib65 at 2007-9-30 16:48:42
If I've downloaded the free JDK and I'm building an application with it, do I need to purchase a liscence to sell it for profit?Gibran
1371 byte By
korcynsm at 2007-9-30 16:49:25
I'm trying to use the Java 1.4 Print Services API for Printing, but I'm having an issue gettingthe PageRanges class to populate based on changes the user makes when the Print Dialog is shown.In the code below, I verified that PageRanges is a supported Attribute Category, But When I try to get ...
482 byte By
camorrow at 2007-9-30 16:49:43
Hi. Im taking a Java class this year and I need to download it on my home computer. YOu can download it on this site, but I dont know what to download.There is: NetBeans IDE + J2SE SDKJ2EE 1.4J2SE v 1.4.2_05 SDK includes the JVM technologyJ2SE v 1.4.2_05 JRE includes the JVM technologyAm I even ...
1545 byte By
jake225 at 2007-9-30 16:50:10
HERE IS A SIMPLE PROGRAM THAT WORKS ON MY DESKTOP BUT NOT THE LAPTOP......*JDs First Program says "Hello Folks"*/public class Hello {public static void main (String [ ]args){System.out.println("Hello Folks");}}I am running my first simple program. It compiles on my Dell laptop and generates a ...
I Have connected IRDA in USB and Create a virtual modem com4.My work is to send message between mobile through PC and vice versa.First We work on serial cable connected with my PC and Nokia6610.ButI face lot of Problem with AT command so I wanna be work with IRDA because All AT command work ...
124 byte By
bryanlwc at 2007-9-30 16:51:23
i have some files in a folder, can i get the folder size to calculate the total file size within this folder, thanks!
Hi All,In my new Job, I'll be working in HealthCare domain. Developing software which'll be used for scanning and diagnostic tools. I was wondering which JAVA technologies are predominantly used in this domain ?Before joing my new job, I would like to do some detailed reading on these ...
745 byte By
ivar_v at 2007-9-30 16:53:12
I have a class ( public class HtmlFilterWriter extends FilterWriter ) which compiles and works happily in 1.4.X but in 1.5 I'm getting an error that doesn't appear to have anything to do with my code. I override the three 'write' methods defined in java.io.FilterWriter and don't touch any ...
257 byte By
tleis at 2007-9-30 16:54:14
GreetingsI read that jar files are executable unpon clicking them, but with me it do nothing.right now i'm using the command prompt to decompress jar files jar -xf jarfile.jari have windows xp professional with j2sdk1.4.1
293 byte By
brettr15 at 2007-9-30 16:55:37
Is there a way to close a program in Windows if I know the loaded exe name? How is this done?There is a program called kill.exe from the NT resource kit. It's used as "kill.exe processname". I'd like to use something similar but through a Java object.Thanks,Brett
I have downloaded and installed "Java 2 Platform Standard Edition v1.4.2_05 SDK" and it all installs fine, but when i restart my pc, an error message appears:"Java Virtual Machine Launcher""Could not find the main class. Program will exit."Does any one know how i can solve this ...
287 byte By
tleis at 2007-9-30 16:56:20
Hello guysI want to know how can I check for a certain region in an image, if it's checked (black) or not (white or light color). for example between x = 10, y = 30 and x = 30, y = 30. and what is the best image format that i can use for such an application?
456 byte By
tleis at 2007-9-30 16:56:22
I was installing the NetBeans, and it asked me if I want it to support nbm files, what are those files?additional questions : In netBean 3.6 there is a lot of templates among them : Java Bean and ClassQuestion 1: What is the difference between Java Bean and a normal Java fileQuestion 2: Is it ...
241 byte By
tleis at 2007-9-30 16:56:23
What will be the difference if I replaced :[code:]public abstract MyWork {....}[/code]by [code:]public MyWork { ........}[/code]THanks in AdvanceTleis
163 byte By
salw at 2007-9-30 16:57:11
I'm searching a tool which is analizing source code (code duplication, errors in architecture, narrow places and so on)Could anybody help me?
Hi, I have some problems with creating objects to my java program.See below:/*JAVA, creating new class object.*/class AccountTest {public static void main(String[]args) {Account olesAccount = new Account(123456676756L, "Ole Olsen", 2300.50);olesAccount.deposit(1000.0); //Input of 1000$ to ...
I want to add my running java program in tray icon of windows operating system. Help me.
i want to send sms through my mobile to PC.At First time i want to read message from mobile inbox text containt one by one throw my pc program where mobile is connected with the IrDA/Serial port using javax.comm api..Pls give me the complete source code.my e-mail address ...
312 byte By
vb2894 at 2007-9-30 16:58:56
Hi,I am using j2sdk1.4.1 on Red Hat Linux 8.0.Suddenly my java process is very slow. All my java applications takes more to execute when I use j2sdk1.4.1. But I am not facing this issue with JDK 1.3.1.Could any one help me on how to resolve this ...
278 byte By
dmansoft at 2007-9-30 16:59:35
Hi Everybody,I want to generate reports in my java application but I don't know how to go about it. You know, in Visual Basic we have the Data Report which is use to generate the reports, is there any facility in java like that. I'll really appreciate your help.
154 byte By
dmansoft at 2007-9-30 16:59:39
Hi Everybody,I want to use the RETURN Key to navigate through my controls instead of the TAB key. How do I do that. Thanks in advance
Hi,My server application has a strange problem, it runs well for almost 17 hours, then it starts throwing Java.io.IOException :Cannot create a file when that file already exists, i have flushed and closed the FileOutputStream everytime after accessing the file.The code is :private void ...
155 byte By
dmansoft at 2007-9-30 17:01:07
Hi Everybody,I want to use the RETURN Key to navigate through my controls instead of the TAB key. How do I do that. Thanks in advance
can I judge the two instance is the same handle, just like in C++ to get their address by "&" for compare?if yes, how?thanks in advanceFrederick
390 byte By
CLab999 at 2007-9-30 17:02:56
I keep getting this error message when trying to execute a program:"Exception in thread "main" java.lang.NoClassDefFoundError: Hw1"so I was told I could use this to fix the CLASSPATH problem:java -cp . Hw1I was told doing that would fix the problem and everything should work fine, but I keep ...
Is there a website that contains the license information of the J2SDK and all Sun APIs (Activation framework, JavaMail, etc.)?
230 byte By
superQQQ at 2007-9-30 17:04:38
I'm a beginner in Java.Now I'm reading Core Java(vol.1).But I still don't know after I finished it, what shall I read next?Can you give me some suggestions? Or show me a book list?Thank you !
...My first post. -Hello everyone.I have installed and compiled and executed some small *.java files with great success. I'd be very happy if someone knew how to install this package, or got some clues where to look. Thanks in advance and thanks alot.[Klokker.java]import easyIO.*;class Klokker ...
I recently downloaded the sdk for my computer. The problem is my first program won't work so I'm convinced it is a bad download for whatever reason.I am running the well known program "Hello World".At the end of my path I have C:\j2sdk1.4.2_05\bin which has to be right because when I compile ...
Hi Can any Expert help ?I want to put third party Jar into my application but i have some problem occur.1. how to call jar with parameter in application ?2. when i exit the third party jar task, it will exit my main task too. How to set my main tast exit stats standalone ?3. I have over 10 jar ...
I tried to compile my project with JDK 5.0 RC (that works with JDK 1.4.2_05), but it doesn't work:[javac] cannot access java.lang.Object[javac] bad class file: C:\Programme\Sun\Java\J2SE\JRE\jre1.5.0rc\lib\rt.jar(java/lang/Object.class)[javac] class file has wrong version 49.0, should be ...
I try to develope an application on mobile phones and some limited devices. I can develope and deploy some J2ME applications but I have not programmed any database application with J2ME yet. first I want to develope this program on Nokia Ngage. Noka Ngage has Symbian 6.0 OS. Do you know any ...
140 byte By
synapsy at 2007-9-30 17:11:29
Hi all would like to know if there is anyway i can clear the stuff already present in the command line promt using java.Thanks
Does anyone have any comparisons or benchmarks for compiling and running Java programs on AMD-64 systems compared to 32-bit Intel systems?I'm considering buying an AMD-64 notebook which will run Windows XP Pro. I believe the 64-bit support for XP was just released (or release is imminent). I ...
Hi,Is there any class in Java that supports set inteserction and union. For instance, I have two integer setsS1 = [1,2,3,4]S2 = [2,3] and the result of intersection of S1 and S2 should be [2,3].-Shilpa.
hi i need to help you.......how can i restart windows by java application? thanks
Can a java app written in jdk1.3 with JMX as extension run on JAVA version 1.1