906 byte By
21n9a at 2007-10-2 22:43:43
Hi everyone I'm having problems with the javac tool The problem Im having has been getting progressively worse for the past few months.To begin with I compiled a applet I was working on in J2SE using the command line, errors were reported and I fixed them but when I recompiled the same errors ...
2114 byte By
rypkia at 2007-10-2 22:47:55
Hi,I have the following code. I have come accross the importing libraries problem. I have download and installed the com.oreilly.servlet (cos.jar) in WEB-INF/lib catalog. But when I try to compile I get the following message:cannot find symbol symbol: variable ServletUtilslocation: class ...
Greetings, I am encountering a rather odd compiler generated error/warning with some code. The issue involves using an "independent" generic method of a raw-typed class. That is, the class has a variable T (call it Test<T> and has an instance method that returns ArrayList<String>. ...
449 byte By
aao588a at 2007-10-2 23:00:48
When I open a particular application, I received in a box title: WJView Errorand in the box the word: ERROR:java.lang.NoClassDefFoundErrornothing else except the ok button and the red XAll the function in the applicatiion works except the "chart" which I just cannot have access because of this ...
701 byte By
FaBYOBa at 2007-10-2 23:02:23
Hello everybody, when compiling I get the following warning:Note: braccio2.java uses or overrides a deprecated API.Note: Recompile with -Xlint:deprecation for details.And re-compiling with the -Xlint:deprecation I get this message:braccio2.java:101: warning: [deprecation] ...
When Compiling the code i get the message as missing method body, or declare abstractpublic void actionPerformed(ActionEvent e);import javax.swing.*;import java.awt.event.*;import java.awt.*;public class timerframe extends JFrame{JLabel labelmessage,labeltimer;int timepassed;JButton ...
See here: <a href=" http://forum.java.sun.com/thread.jspa?threadID=747024"> http://forum.java.sun.com/thread.jspa?threadID=747024</a>
HelloI have been working on a java agent using JVMTI. The next thing that I would like to do is instead of having the output sent to stdout, I would like to have it sent to a java application.I have been going through Sheng Liang抯 book on JNI, and have seen that to call a java method you need a ...
HiWhen running javah on a class file (or at all) it just hangs without giving any feedback. I have no idea why this is happening. I am using mustang beta from a couple of months back. Any ideas?
713 byte By
Roxiea at 2007-10-2 23:09:48
Hi,I am looking for solution to handle OutOfMemoryError or any other JVM Error gracefully. I want to send emails to system-admin and then terminate my JVM.I am not able to find any good resource on using log4j for handling errors. If I code 搕hrow new Error(搄vm error occurred, shutting down ...
The applet loads fine the first time I navigate to the page.Upon refresh, i get java.lang.NullPointer exception.Here is my java console information:basic: Loading applet ...basic: Initializing applet ...basic: Starting applet ...java.lang.NullPointerExceptionat ...
I want to start programming in java but when i did the tutorial the compiled code would not run i tried reset the CLASSPATH an so forth but it will not run the errormsg i get is to long to type out but the main part of it is Unsupported Major.Minor version 49.0Can any one please tell me wats ...
Dear All,When I'm using one file which is generated by some code generation tool then javac is giving following error:"code too large".This code contains definition of 2 dimensional static array. This array is initialized with near about 2700 lines. while I use javac, it gives this error. If I ...
Hai every one, I am using javax.mail api for sending mails.The mail ids include both gmail and yahoo acccounts.I am unable to send to yahoo accounts where as mails are getting delivered to gmail accounts.can any one help me please. Thanking you in
I am posting this one here to see if anyone else has the same or similar experience. I have an Java application running on a Windows Server 2003 SP1 OS with dual Xeon EMT64. It is running on Sun's JDK 1.5 Update 3, and every couple of hours the JVM instance just crash with the following error ...
503 byte By
Kalcheva at 2007-10-2 23:27:34
Hello everybody,I run a web application and Java starts me process named Java.exe. So I can find that process in the Task Manager after I close my web aplication. So next time I try to run a web aplication and if i didnt kill that process manually I can not compile it right.I use BundletTomCat ...
684 byte By
sabya at 2007-10-2 23:29:30
Has anyone got this message."javaw.exe has encountered a problem and needs to close. We are sorry for the inconvenience."I was trying to debug my java application using eclipse debugger [eclipse 3.1] on windowsXP when i get this message. This message is very random and doesn't occur at any ...
A site I use has a pop up applelet window which works fine in IE 6 However I recently downloaded the IE 7 Beta version and, when using that, get a runtime library error and a fata errror in iexplore.exe, closing all windows if the error message window is closed. The Java log report is:# An ...
1980 byte By
Aknibbsa at 2007-10-2 23:35:16
Hi all I am working with eclipse on Solaris 11. The server that eclipse is on just recently went from 10 to 11 and now eclipse will no longer execute. When trying to execute I get the following error:java.lang.UnsatisfiedLinkError: no swt-motif-3139 in java.library.pathat ...
I'm in the wrong forum, but can't figure out how to move it. Ok, I've reread the section on setting the classpath 12 times & I still get this error. I created a CLASSPATH variable both under the user & system variable of the environmental variables. I'm using Windows XP. The ...
First off, my apologies if I am posting this in a incorrect area.I play an online game called Kings of Chaos (that does not require java technology) - however a tool to make the game easier to play does.Its a mulitple batch window program and requires java. Yesterday, it was working absolutely ...
Hi, I tried to run my JVMTI based heap analyser several times without process restart. This does not work currently and I do not know why. The first run is successful. With the second run the process panics with SIGBUS or SIGSEGV (which of both occus is not in my hands) at some nearly ...
ascertain:tcglive:~/BUILD/bin> ./listJobs Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object ascertain:tcglive:~/BUILD/bin> ./startJobServer -fg Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object We've been ...
Title says all, I can't find a working link to the Attach spec (both in the online and downloaded mustang b90 docs) from the docs index page.
Hi,Can anyone help me with thie error.Iam getting the following error when Iam trying to connect to to a EJB running on Weblogic .What might be the possible causes.This the code where Iam getting the error.String custData;com.o2.registration.adapter.CompanionAdapter stubCustomer = ...
933 byte By
djiba at 2007-10-3 0:06:20
Hello,I am trying to get mifdoclet running to generate documentation in pdf.I get an error for each ArrayList<SomeClass> that there is in my source code:Rules.java:21: <identifier> expectedprivate static ArrayList<Move> legalMovesNonCapture;^Rules.java:49: '(' or '[' ...
Everyone knows you can see API's java code unpacking src.zip.So, imagine that you call internalMethod(var) in you application. And suppose that you see e.g. in src.zip:public static void internalMethod(int var){ //The real implementation,whitout native modifiers}Does it mean javac internally ...
hi,I am having the JDk and jre versions in C: drivei am jdk version 1.5.0but when i am running the command version it is showing 1.4.2_03 version and also i am having the oracle 10g on my system.tried seeting classpath also but no success.I am trying to run a simple helloworld program.while ...
javacc 4.0, I run follows example:PARSER_BEGIN(Example)import java.io.*;public class Example { public static void main(String args[]) throws Exception {Example parser = new Example(new FileReader("d:/workingfolder/JavaCC/resource/data.dat"));parser.Input(); }}PARSER_END(Example)SKIP :{ " "| ...
I seem to end up duplicating a lot of text, especially between getters and setters and property members. I can always use the {@link} syntax but this can lead to a paper trail for the user to find the info they need, and they don't work so well when your javadoc is presented by Eclipse as a ...
HII am frequently hearing these words "CORE DUMP,MEMORY LEAK...."Can anybody explain me wat is this?Thnx in Advance!
550 byte By
raineha at 2007-10-3 0:22:37
Hi. From the command line,javadoc -tag todo:a:"To Do:" SomeClass.javaworks fine. However, put -tag todo:a:"To Do:" in an arg file called options andjavadoc @options SomeClass.javadoes not work. The message is:javadoc: error - Illegal package name: "To Do:"-tag todo:a:ToDo works in the arg file. ...
I got a very strange problem. I wrote the following statement: .... Integer[] nums = generateRandomIntegerArray(); List<Integer> list = new LinkedList<Integer>(Arrays.asList(nums)); [b] List<Integer> clone = list.clone(); [/b] .....I got an error statement: cannot find ...
Hi, using a code near to your heap viewer demo which pre tags all classes before the first iterateOverReachableObject() is called reveales special class objects. Using the tagging mechanism in iterateOverReachableObjects I detect 10 objects with the following attributes: - the object reached ...
hey,i have tested database connection using normal java application and it works, so i moved on to test the database connection for servlets because i need to create a mobile application that goes through the servlets to the sql server database.below is a sample code i got from other ...
Hi, using iterateOverReachableObjects in my agent causes the heap (the C heap, not java heap) of the analysed process to increase from 30 MB up to ~600MB (only with the frist run). Around 120 MB are caused by the tagging of objects. We have around 8 million objects and this is my tag: ...
Hi,I am sure this question has been asked before but I can't seem to find where.I would like to compile a class in memory then run the generated class file. Somthing like Class klass = Compiler.compile("class MyClass {public void run() {}}"), then run the run method from the class. I did see ...
Hi Friends,j2ee -verbose command is nor running.It gives Error :set J2EE_Home.how to set it.Or how to make this command run.Please reply as earlier as possible.It is urgentThanksBye
Could I know what is the Difference Between JRE ,J2EE and J2SE.
The Sun JavaDoc has "JavaTM 2 Platform Standard Ed. 5.0" up in the navbar, "JavaTM 2 Platform Standard Edition 5.0 API Specification" centered at the top before the normal text, and what looks like a custom footer. How do they do that?
Running NetBeans on MS/Windows. I would like to check in the entire NB project via cvs and include the Javadoc overview.html in the package.However the person who checks it out can put their project pretty much anywhere they want. Unless I'm way wide of the mark it appears that the Javadoc ...
Hello,when i try to compile the following code as part of a servlet application , the following Xlint:unchecked error occurs.I cant understand since I am using jdk1.5 or is it referring to generics in collections?if so could anyone pls reply how to fix it.Thanks in ...
305 byte By
p_snipea at 2007-10-3 0:49:52
I created a Java program and ported it to another computer, with only the class file. When I try to run it I get the "NoClassDefFoundError." I've since tried to run it back on my machine and everything is great. I'm not using any extra libraries or anything. Any ...
Directions say:A-2-01)INSTANTIATE a local variable named myFile of class MyCsvFile, passing a single String argument for the CSV filename: 損iecesCompletedByEmployee,v00.txt?br>I wrote:MyCsvFile myFile = new MyCsvFile("piecesCompletedByEmployee,v00.txt");and I get this error:-Target File: ...
Can any one help meI have problem in calling Port.java from Msg.javaThe all four files are in smspackI am getting same type error in all four files The error message is as follows:Msg.java:192: cannot find symbolsymbol : variable Portlocation: class smspack.Msgs = Port.sendAT ("AT+CSQ"); ...
package smspack;import java.io.*;import java.rmi.*;import java.util.*;import javax.comm.*;class Port { private static String portName; private static SerialPort port; private static OutputStreamWriter out; private static InputStreamReader in; private static String number; private static String ...
I am facing below error while building - An exception has occurred in the compiler (1.4.1.02). Please file a bug at the Java Developer Connection ( http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your ...
4354 byte By
geema at 2007-10-3 1:01:08
hi.. I have some code and I get this error:set_ID.java:147: non-static method setGroupByGid(int) cannot be referenced from a static contextXenonGroup.setGroupByGid(gid);the setGroupByGid(int) function is part of the com.xenon.unix package, the setUid(int) is in the javaunix package. the ...
1106 byte By
mbesosaa at 2007-10-3 1:01:10
Our source tree has two top-level branches: one for test and the other for production classes. The package (subdirectory) structure is identical in both branches. This is, I believe a fairly common arrangement. However, it creates a problem with Javadoc that I haven't been able to solve. I ...
i'm learning java programing, i want to use while term but there is an error : illegal start of type :( what can i do?public class WhileOrnek { int i = 0 ; while (i < 5 ) {System.out.println("i = " + i);i++ ;System.out.println("Congratulation! ");}}where is the ...