445 byte By
wc1220 at 2007-9-27 2:28:29
I am from Hong Kong, this is my first year learning Java 2.I want to ask, if I want to upgrade the JDK from version 1.3.1 to 1.4,do I need to remove the existing version from my computer and install 1.4,or I just have to install 1.4 to upgrade?And I want to ask a question for my classmates, ...
186 byte By
belladsb at 2007-9-27 2:32:46
Hi,If anybody has tried printing in Java with jdk1.4 please let me know. I want to print contents of a file.U can reach me at belladsb@hotmail.comThanx
369 byte By
zaaba at 2007-9-27 2:39:17
I have j2sdk 1.4.0.Can I assume there is a difference in package between j2sdk and j2se, because the JDBC is listed as coming with j2se not j2sdk?Either way, I don't believe I have JDBC and I need to get it. I want to connect to MySQL/PostgreSQL through the java GUI DBVisualiser.Should I get ...
I am using JSDK 2.0 on Windows NT for developing JavaServlets. Can I use the srun.exe or servletrunner.exe to run JSP pages? If so, how? Otherwise, do you of a better way?
I cannot find the javax.net class in the new J2SE 1.4.0 Version.In the Package listing there is a javax.net class and javax.net.sll class listed.I downloaded j2sdk-1_4_0-win.exe file.Can anybody help me?ThanksThomas
Sub : Java Communication (javax.comm) with JRE1.2.2Dear Friends,I am using JDK1.2.2 with javacomm20-win32 patch for developing an application where an instrument is serially interfaced through Serial Port (COM 1) using RS-232C protocol. When I am using JDK1.2.2-008-win (20 MB) compiler then the ...
Hi!Can someone tell me how does a Java Bytecode run....what all methods are called...Basically, i want to know a bit about the internal working of Java Virtual Machine...Satyam
333 byte By
ralmon at 2007-9-27 2:57:09
I recently installed this on my laptop to assist in learning Java. The fonts used by the IDE are not very good on this display (1024x768 LCD). Is there some way to either add different fonts (e.g. use any installed by the OS), or perhaps to manipulate the way the IDE fonts are ...
211 byte By
damovand at 2007-9-27 2:59:56
Hello all,I've downloaded j2sdk1.4.0 and j2re1.4.0 but can't find the jar file containing javax.servlet. This package used to be in servlet.jar, but where is it now?thanks very much
218 byte By
wangfc at 2007-9-27 3:04:29
When I use : System.out.println(100d*1100.11d);I got :110010.99999999999why? When I use : System.out.println(100f*1100.11f);the result is : 110011.0Thanks.
143 byte By
bissons at 2007-9-27 3:10:55
Is J2SE 1.4 compatible with J2EE 1.3, or do I have to keep on using J2SE 1.3.1? J2EE docs imply 1.3.1 is the only tested version.
803 byte By
-monky- at 2007-9-27 3:13:01
Whenever I code java under Win2K i get the following error on every program:Exception in thread "main" java.lang.NoClassDefFoundError: <classname>however, when i run under linux the programs run without a hitch. i first had this problem with java 1.3 so i uninstalled it and upgraded to ...
511 byte By
damovand at 2007-9-27 3:13:51
Hello all,I'm getting Error Thrown: java.lang.UnsupportedClassVersionError: com/sun/jndi/ldap/LdapCtxFactory (Unsupported major.minor version 48.0) When I do new InitialDirContext(env);The applicaton server I am using has its own version JNDI which I think is not the same version I'm using to ...
Have installed j2sdk-1.4.0 on Mandrake 8.1 from downloaded rpm. However I am unable to run "java".Error reads:Cannot find libjava.soCannot find Java 2 runtime environmentI have checked and linked up all of libjava.so so that should now work but it still persists with the error.Help ...
390 byte By
net1000 at 2007-9-27 3:23:20
Hello;I need to upgrade my jdk 1.2.1 to jdk 1.3 or jdk 1.4.Sun has only newer JRE 1.3 and 1.4 in their download site which I downloaded for 1.4.However I didn't get any jdk 1.4 folder in my c drive.It was just installed in my program directory.Is it enough to get only jre to use jdk?I hope ...
361 byte By
CyndiLum at 2007-9-27 3:24:44
Does anybody have any idea where I can submit this bug I encountered in my Forte for CE 3 (IDE)? Am using JDK1.3.1_02, and I've encountered java.lang.NullPointerException error. Forte prompted me to send in my log file at the website http://www.sun.com/forte/ffj/resources/bug_submit , but this ...
Hi there i have a laser printer connected to my LAN.I used the Print Service API(new in J2SDK1.4.0) to print a text document. I set the document flavour as DocFlavor.INPUT_STREAM.TEXT_PLAIN_HOST .But the printer discovery mechanism in J2SDK1.4.0 does not return any printer for this although i ...
How can I increase the size of the applet in Jbuilder 5 Justin
Dear Friends,I have installed JRE1.2.2 in a PC and want to communicate with an Instrument by RS-232 protocol for data acquisition. To make my programme active to communicate from Serial Port, I have to copy three files ( jar, properties and dll from javacomm20-win32.zip) manually by copy & ...
650 byte By
srhadden at 2007-9-27 4:05:56
Hi All,I was excitied to upgrade to ForteCE/SDK1.4.0, as advertised on Sun's web site, but a VERY annoying bug still existed, as documented here: http://developer.java.sun.com/developer/bugParade/bugs/4491486.htmlI screamed "WHY WHY?!" would they release a new version with 1.4.0 and have this ...
Hello. I am stumped. I am just about to learn Java for the first time. I downloaded and installed the version for Windows XP. I can run Java applets etc, but I cannot compile. JAVAC does not seem to exist. What am I missing? The installed happened with no errors!Please help a newbie!! 8-) ...
Dear Friends,How to destroy a thread permanently and immediately in JDK1.2.2 application on Win98. I have tried with Thread.destroy() or Thread.interrupt(). destroy() method not worked, concerned thread continues to run even after executing that command.Which is the best process ? Avijit ...
179 byte By
nadineF at 2007-9-27 4:10:27
Does any one could explain why System.getProperty("javaplugin.proxy.config.list") always return null with Netscape 6.2 Java Plugin 1.3.1 ?Thanks.Nadine
Is there a manual way to uninstall JDK 1.4 from Windows 2000. I can't uninstall it from the add/remove programs. If I try to do that nothing happens.JDK 1.4 has been causing me some problems with applications running on my machine.
674 byte By
peter_h at 2007-9-27 4:18:38
Hello,I wonder about the following treadment:a) javac -g "package1/package2/Test.java"after compilation the class file contains the following debug info"SourceFile" and "package1/package2/Test.java"b) javac -g "package1\package2\Test.java"after compilation the class file contains the following ...
455 byte By
arnoulro at 2007-9-27 4:20:44
Hello,I am getting a problem when dealing with the vector.class. Most of the methods I am using are failing, even if their syntax is correct. Of course, the matching class are being imported.eg: I am getting the following error message: "Method get(int) not found in class java.util.Vector." ...
181 byte By
garbuzov at 2007-9-27 4:32:01
We are looking how to overcome applets' inconsistency, and I heard, there is some way to facilitate your client to run your applets in the appletviewer. Is tha right?
The installation instructions for the SDK 1.4 Forte cobundle indicate that it is necessary to unistall all previous versions of the J2SDK before installing the cobundle (Step 1). Is this truly necessary? I have other tools installed that rely on previous SDKs (1.2, 1.3) and migrating them to ...
325 byte By
telenko at 2007-9-27 4:34:54
I've been trying to find a version of jdk 1.4 for ibm aix, but haven't found a trace of it anywhere. Does anyone know if there is a jdk1.4 available for aix, or if there will be one soon? On the ibm website I couldn't even find an indication of any work in progress regarding jdk1.4.Thanks in ...
Hi,Does anyone know if there is JDK build available with debugging information enabled? I mean, a build in which the java (api) sources are compiled with debugging enabled ("-g" option). If anyone knows of such a build, please let me know.Thanks,Shabbir
i have dowloaded and installed JDK1.4 last week, from then on,the applet didn't display when i visit the web page include applet,always the same error message--Exception:java.lang.ClassNotFoundException.the page outside of firewall like java.sun.com and local like our intrernal website have ...
Is it possible to execute or run any Java programs(say .class files) in a client browser, and with IIS as the webserver? I may call my Java file from the browser like - http://servername/path/myjavafile.class.Before that I will specify in the Application Option of the IIS configuration, that ...
433 byte By
obiOne at 2007-9-27 4:46:32
Hi everyone i would like to know if there's any ide for mac os 9.It's like a nightmare trying to find, were there's only ide's for ms win or solaris but very few (none if for free) for mac.Recently i' ve downloaded simplicity for java but, unfortunately i have to deliver a work this week ...
Hi guys, I have a query. Firstly, I'm using JDK 1.3.1_02 and Forte for Java, Community Edition version 3 build 010925.I have written a class with a method that reads a String of 2 characters. Being hexadecimals, I use a switch statement with the checking of each character. As with my normal ...
533 byte By
dashoka at 2007-9-27 5:01:22
The applet with JTextField works fine in JRE 1.3.1_01. When I tried to run the applet in JRE 1.4, the following problem occurs.The text field behaves like a disabled control, i.e the user is not able to enter any data inside the control. Also the focus is not set when the textfield is clicked. ...
Hi,I am using jdk1.3.1. It dont compile my .java file if I have a class reference. e.ga.javapublic class a{}b.javapublic class b{public a;}Normal .java files get compiled, only .java files with references to other class files give me errorit gives me error saying that "Cannot resolve symbol". ...
374 byte By
els2a at 2007-9-27 5:04:54
Hi, Trying to create my own Taglets, using the sun Tag.class file from the J2SDK1.4 api, I get the following error :cannot access com.sun.javadoc.Tagbad class file com/sun/javadoc/Tag.classclass file has wrong version 48.0, should be 47.0Does anybody know what this means and how I can get rid ...
Hi all,When you select an item from a combobox in jre 1.4, all textfields are disables, focus is lost and never seen again. Does anybodie have a work around for this. Compile and run the code below, run it under 1.4 and see what I mean.ThanksAlistairimport java.awt.*;import ...
333 byte By
kllia at 2007-9-27 5:07:55
I installed JDK1.2 or 1.4 in XP system, but I cannot use either of them to compile my program or the demo program included in the JDK package. The message I got when I did javac is:'javac' is not recognized as an internal or external command, operable program or batch file.Please ...
1635 byte By
bjnewa at 2007-9-27 5:10:56
Hi all,I have been developing an interface component library based on the swing components using J2SE 1.3. I have been using javadoc (1.3) to create the documentation. I had no problems until I upgraded to J2SE 1.4 (and therefore javadoc 1.4).Basically, if I use javadoc 1.3, the documentation ...
Hello,We are planning to do one project in servelts with back end as MySQL.So what are all the softwares needed for this and where can i find these softwares.What is the last version of JAVA and servletsSend me all the details asap with names and ...
637 byte By
guttaka at 2007-9-27 5:11:45
ENVIRONMENT:Java version 1.4 on Windows 2000 ProfessionalI am trying to open a zip file and it come back with anjava.util.zip.ZipException: error in opening zip fileat java.util.zip.ZipFile.open(Native Method)at java.util.zip.ZipFile.<init>(ZipFile.java:112)at ...
im getting the error Exception in thread "main" java.lang.NoClassDefFoundError: during runtime the programs compile no problem.i'm trying to get the basic secure socket client server programs supplied with jsse1.0.2runningbut i always end up with the same error no matter what sample program i ...
545 byte By
jyasa at 2007-9-27 5:16:28
Unable to run Snoop Servlet in JRUN 2.3.3 running on IIS4.0. I give the urlas http://websitename/servlet/SnoopServlet . But I get HTTP error 404 error.I am trying to run the snoop servlet in the jrun/jsm-default/servlet directory. But, I am not able to run the servlets that are in the Servlet ...
737 byte By
elmarga at 2007-9-27 5:22:11
Hi,I just installed JDK 1.4 on a new machine, now I have trouble running compile scripts that used to work on my old machine. The old an new are configured with Win 2000. The following compiles without problem:javac -classpath "..." -d "..." "c:\.....\com\...\some package\MyClass.java"Changing ...
Hi,I'm new to java programming and I'll like to develop my skill in java programming.How do I download JDK1.4 and also install it on my system?I'm using Window me edition operating system.Odutola
505 byte By
norseza at 2007-9-27 5:33:12
Hi!I have installed JBuilder6 and J2SDK 1.4 and nowmy DOS prompt on my XP will use the JDK1.3.1 thatcomes with JBuilder6 no matter how I set to J2SDK1.4 all theJAVA environment variables in the XP's advanced system environement variables. I also changed the default SDK in the JBuilder to J2SDK ...
462 byte By
smart61a at 2007-9-27 5:35:39
The new JDK comes with lots of great stuff that used to be in the J2EE. However, I need access to, for instance, the servlet API, which is not included. Is there a new J2EE that corresponds to JSDK1.4.0?Alternatively, I notice that I can download the class files for the servlet API. If I do ...
339 byte By
acinoma at 2007-9-27 5:50:31
Hi all, i'm having some problems running my application on my new platform with P4 processor with Runtime 1.2 ...everything works fine on a P2, but JAVA.EXE traps if running on a P4...do you know of any incompatibilities, fix packs, etc regarding this problem?thanx in advance, ...Nacho ...
731 byte By
leala at 2007-9-27 5:56:53
I can't get the Focus to the wished component in my JDialogs when "invoke" them withsetVisible(boolean)[\code]void mySetVisible(){new FocusRequester(some JComponent of this Dialog);setVisible(true);}public class FocusRequester implements Runnable // the classical Focus runner{Component ...