Background: I have a SQL database created and maintained via MS Access 2003. I use JDBC to connect and interact with this database. So far my program has been able to do everything from querying a table to inserting new rows to deleting others, but has had no luck with updating rows either ...
Running Linux Debian Live Knoppix CDMade basic hello world program.class Hello { public static void main(String[] args) { System.out.println("Hello World!"); }}Compiled it with the javac command: javac Hello.javaWhich made an Hello.class in the same dirI then try : java Hello.classThats ...
5304 byte By
4212200a at 2007-10-1 22:44:59
hi...i had an error in enternet explorer at the java .the error is :Java Plug-in 1.5.0_04Using JRE version 1.5.0_04 Java HotSpot(TM) Client VMUser home directory = C:\Documents and Settings\adminnetwork: Loading user-defined proxy configuration ...network: Done.network: Loading proxy ...
3032 byte By
el_Pakoa at 2007-10-1 22:45:50
Hi All,I have problem with a jsp page which use a bean! Perhaps I get wrong when I compile the bean file "Login.java" or I place "Login.class" in wrong place! Can you tell me where I must place compiled file in TOMCAT folder?The error displayed ...
465 byte By
rooikopa at 2007-10-1 22:46:14
Hey me first postUhm ya im doing my school project and i use this file path "C:\Documents and Settings\William Ryan\My Documents\School\Comp\Project\Aston_Martin_V12_%20Vanquish-001.jpg" and in the "Ready to Program" i use to code it comes up with this error "Error: The value of this "String" ...
I'm receiving the following exception and would like to understand what is the cause.An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x0Function=[Unknown.]Library=(N/A)NOTE: We are unable to ...
116 byte By
kaihua1a at 2007-10-1 22:56:20
For C/C++ We have MSDN. Why Java has not JSDN?I suggest. Sun should also develop JSDN instead of JDoc.
13430 byte By
DeepanTa at 2007-10-1 23:09:58
I'm new to the Spring Framework, and was trying out a tutorial to get started. The details of that tutorial is here: http://www.springframework.org/docs/MVC-step-by-step/Spring-MVC-step-by-step-Part-1.htmlI've gotten through the first part up till the point where he says to use the 'list' ...
1641 byte By
BazZa at 2007-10-1 23:17:38
Hello, i'm writing a conduit for synchronizing a SQL database (from our own application) with the Palm handheld. I'm writing this one with Java and the JSync suite from the CDK 4.0.3. I'm writing the conduit from the Sample addressbook conduit: "addrcond.java" (with the same methods etc.) ...
I created an applet named Converter.class. When the compiler successfully finishe compiling, it also created Converter$1.class and Converter$2.class. Why are those two classes created? what are they? and within my computer Converter.class successfully runs, but when I upload Converter.class to ...
how can my j2me application talk to ERP system?thanks in advance..harsh
Hello, I have looked over the javadoc documentation quite a bit and realized that there is no easy way to exclude classes and methods with a custom tag such as @exclude, but still use the standard doclet without modifying the doclets source. I have started to do this by making a copy of the ...
Hi, I need help!!! i am working on Solaris machine. My java program was getting compiled but while running is throws following exception.Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: /usr/lib/libSolarisSerialParallel.so: ld.so.1: java: fatal: /usr/lib/libSolarisSerialParallel.so: ...
1109 byte By
nay0648a at 2007-10-1 23:30:42
Hello everyone:please see this code segment://Test.javaimport java.net.*;public class Test {public static void main(String args[]) throws Exception{Socket s;s=new Socket("www.sina.com.cn",80);System.out.println(s);s=new Socket("202.108.33.21",80);System.out.println(s);}}it works well in red hat ...
Hello there..I have a mysteries problem.I have a client server program using RMI in Java 1.4 but sometimes before anything shows up, At the point that my java applet show up from the HTML page on 10% of the times I see a white window on the HTML page at the size of the applet and it dead.After ...
I am extreamly new to java and have what most people(but me) would consider a rather simple assignment.I have attempted to write a simple mortgage calculator with a GUI. When I attempted to compile I got the following errorsjava:99 <identifire>expectedpublic void ...
Can someone tell me what's the deal with wait() and notify() methods? Like how to use them properly? Right now I have two threads, one being the main program and the other should run occationally when I need it... I try to get the second to wait() and second.notify() when I want to to run but ...
my applet successfully compiles,but when I run it, it crashes with the following error message:java.lang.NullPointerExceptionat Dairy.init(Dairy.java:211)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)and below is the part of my sourcecodefor(int ...
878 byte By
habibia at 2007-10-1 23:33:54
Hi!I'm trying to learn some java, and I've just done my first applet. The code looks like this:__import java.awt.*;import java.applet.*;public class MittNamnApplet extends Applet {Font f;public void init() {f = new Font("SansSerif", Font.BOLD, 24);setBackground(Color.pink);}public void pain ...
Currently i am running javadoc from the commandline as follows:-javadoc -doclet javadoc.StandardDoc -classpath C:\j2sdk1.4.2_03\lib\tools.jar -sourcepath D:\Data\CVS\Tools\SoapDocGenerator\src sampleI get these warnings :-Loading source files for package sample...javadoc: warning - No source ...
334 byte By
drake01a at 2007-10-1 23:38:59
Hey Guys,I am trying to send a command to a serial port using SerialPort.write("command"). I keep getting an error saying:cannot find symbolsymbol: method write(java.lang.String).I probably have the syntax for the method wrong or maybe there is something else, can anybody help? ...
4851 byte By
drake01a at 2007-10-1 23:39:58
I am not very good with programming, and need help. I am compiling this code for my project, and I want to find out if the line System.out.println("look here 3); will executeBut the compiler gives me the following error:Main.java:115: <identifier> expected System.out.println("look here ...
805 byte By
Drowa at 2007-10-1 23:44:31
Just started a programming class at univesity which require alot of studies at home.I am however getting a graphical error which is really making it hard for me to study. Something as simple as a JOptionPane.showMessageDialog shows completely blank. I can click the area where the ok button is ...
563 byte By
mKenyona at 2007-10-1 23:49:07
I have an applet that I embed in my page with the <APPLET> tag. Then I have javascript that calls a method in the Java .class file. This works on most systems that have java.However, on one system (and possibly others) I get an error saying 'no such method exists'. I tried clearing out ...
I get these sort of Conflicts for all the parameters of all the methods in a particular code file where querying thing is coded in JBuilder6, I tried to resolve it using the Jbuilders Wizards JavaDoc help but unsuccessful. Can anyone pls let me know what more could have gone wrong other than ...
Hi all,My program is experiencing intermittent lock when it experienced ConcurrentModificationException and it won't release the thread lockl?!This thread supposedly will only run for 1 min but its been 12 mins already and its not yet releasing the lock. It seems like because ...
I'm having trouble implementing this following code:InitialContext ic = new InitialContext(MyProperties);Object tmpObj = ic.lookup(MyObjectName);MyHome tHome = (MyHome) PortableRemoteObject.narrow(tmpObj, MyHome.class);This runs fine until it reaches the last line at which point I get a ...
any ideas of whats wrong or what im doing wrong? thanksC:\Documents and Settings\Dylan Moore\My Documents>javac app.javaapp.java:4: package system does not existsystem.out.println("I Rule!");^app.java:5: package system does not existsystem.out.println("The World");^2 ...
508 byte By
MStoloa at 2007-10-1 23:51:45
Hi,I'm trying to write a recursive method that calculates the number of combinations. Here's is my code...I was just wondering why I keep getting the error "combinations(long,long) in TestCombinations cannot be applied to (long)". Any ideas on how to fix it would be greatly appreciated. ...
Error sending email message : Sending failed;nested exception is: javax.mail.MessagingException: 553 5.1.8 <username@host.com>... Domain of sender address <username@host.com>... does not exist.I need help on this please. There's no problem with the properties file , what else can ...
I am developing on an application that has to put alot of stress on the processor. However, even though I don't do anything with the System time other than querying for it, the time gets modified on the users system. Is there a known bug in Java that will cause the time to change under high ...
2833 byte By
vltavaa at 2007-10-1 23:57:24
Hi,I have this code: protected void sendDoc( Element el ){ try{ Source sou = new DOMSource( el ); Writer str = new StringWriter(); Result output = new StreamResult( str ); PrintWriter printOut = new PrintWriter( out, true ); TransformerFactory tf = TransformerFactory.newInstance(); Transformer ...
2556 byte By
mnkybya at 2007-10-1 23:58:43
i'm doing basic java programming for my computer science clas and I keep getting the <identifier> expected error. I use BlueJ as my IDE. Here is the code; my error comes on line myInscribedRadius = (double) 1 / 2 * sL * (1 / Math.double tan(Math.PI / nS)); :public class Polygon{int ...
In SQL ORDER BY clause if we want to order the database based on 2 columns then how does the ORDER BY clause know which column is the main priority. For eg:SELECT * FROM table WHERE some_conditions ORDER BY column_1, column_2Then will ORDER BY clause order the records giving column_1 as the ...
public class execInput {public static void main(String Argv[]) {try {String output;String[] cmd ={"c:\\xpdf\\pdftotext.exe", "c:\\pdfFile\\dispatching.pdf"};Process pr = Runtime.getRuntime().exec(cmd);}catch (IOException e) {System.exit(0);}}Above program is run in Ms-DOS : ...
274 byte By
kurska at 2007-10-2 0:04:52
hi, Try executing the equals() and == on Strings, they both work the same can any body tell the difference b/w the two. they work the same for strings initialized to some value, but if u pass the string through an object u get different values!!
i ty to star a javabased programme and i get this error from java console:Live2D.start()Live2D.run()Exception in thread "Thread-46" java.lang.NoClassDefFoundError: Playerat Live2D.run(Live2D.java:74)at java.lang.Thread.run(Unknown Source)i would like to now how to fix ...
Trying to start demo from Sun commapi:$ java SimpleReadError loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: no LinuxSerialParallel in java.library.pathException in thread "main" java.lang.ExceptionInInitializerErrorat SimpleRead.main(SimpleRead.java:67)Caused by: ...
I compiled my first .java file and obtained a .class file. When I try to run the .class file I get this NoClassDefFoundError.I saw on the FAQ to set CLASSPATH=, but I got the same result.Can anyone help?
930 byte By
cava@aua at 2007-10-2 0:07:22
hi there ~ Here is environment:winXP Projdk1.5.0_04here is part of my code:System.out.print("Enter Bit length\t:");int bitlen = Console.readInt();.........System.out.print("Enter integer to be encrypted :");BigInteger big = new BigInteger(Console.readString());here is the error msg:C:\Program ...
Hi there,I have a really strange problem when trying to build my sources with an ANT script. In Eclipse, this problem does not occur!Here is the output:[javac] ...
I get this message java.lang.NoSuchMethodError: mainwhen i try to use the debug feature in JBuilder 6. Is debugging not possible if there is no main method in my application? please suggest me how to use the debugging feature in JBuilder 6 without main method in my code. Thanks
Hihow do i put links of other web pages on a particular web page using template: putname conceptthanks
Whenever I run my program I get this error messagejava.lang.OutOfMemoryError: Java heap spaceI tried using the -Xms and -Xmx options but nothing is happening.... When I typejava -Xms512m -Xmx512mnothing is happening and I get the following messageC:\Program Files\Java\jdk1.5.0_03\bin>java ...
I am using a software package for placing a menu on a website and when I try to load my page, I always get this error message, Line 29, Char 1, Object Expected; Error. The website is www.stewartscleaningservice.com. I have been trying to solve this error message and I am unable. The menu is ...
3097 byte By
drake01a at 2007-10-2 0:20:51
Can anyone help? when I run the code below, I end up with a NullPointerException. I figured is because I am trying to do outputstream.write(cmdstring.getBytes()); on line 46.I need help figuring out why it gives me an exception. ThanksDrake01import java.util.*;import javax.comm.*;import ...
Please tell me how to resolve this exception ASAP. I have a cloumn by name text in the database, why doesnt it consider it?Unexpected Application Error Occurred.javax.servlet.jsp.JspException: columnName text not found in search results list at ...
About 3 times a day, all my browsers close, and this error mssg is then placed on my desktop. I have uninstalled Java 2 times, it seems I have no clue what I am doing. If anyone can provide me information (a fix, would be great) it would be greatly appriciated. Thanks.. Michael(as in log file ...
OUR COMPUTER SYSTEM SEEMS TO HAVE A 'BUG' - ON A GIVEN DAY, THE COMPUTER SCREEN LOOSES OUR WORK, AND THEN I FIND THIS MESSAGE, DISPLAYED IN A WORDFILE, WITHIN AN ICON. HERE IS THE MESSAGE: PLEASE ASSIST WITH INFORMATION. THANK YOU MUCH.MRS. D. BOGGS,WANDO WOODS BAPTIST ...
This is how my code looks like.It does'nt give me any error but I dont see the output from batch file which is suposed to be a simple redirection of dir command...package mypackage1;import java.io.File;public class RunBatch { public RunBatch() {try{Runtime rt = Runtime.getRuntime();String cmd ...