Recent update: 2008-5-9

JAVA COmpilation,who can offer help

193 byte By cygnus81 at 2008-2-19
DEar all JAVA USER..is there anyway after compile the *.java filethen converting it by using exe so that no need using java XXX.java prompt to run the program

Run-time compiling trouble.

545 byte By zors at 2008-1-23
Hello. I wrote the simple command-prompt program that tries to compile existent java code. Any tries are ends with message: error: Can't read: d:\vcs\tries\test.java1 error[done in 481 ms]There are code: String[] args = {"-g","-verbose","-classpath","D:/MyDocs/OWN/classes/","-d", ...

I can't compile the converter tutorial example in J2EE

653 byte By adamchan2000 at 2008-1-13
Hi,I was wondering if someone could help me out with this.I followed the instructions from the tutorial, but still can't use ant to compile the convert. The following is the error output.Many thanks. C:\temp\j2ee_examples\j2eetutorial\examples\src>ant converterSearching for build.xml ...

Decompiling class files

235 byte By martycash at 2008-1-12
It is my understanding that anyone can download a decompiler from the internet. Does anyone know if there is a way to prevent class files from being decompiled? If not, how can a person/company go about protecting source?

Deployment Problem(NotFoundException)

709 byte By dong33 at 2008-1-2
HiI use J2ee 1.2.1 & j2ee document 1.2.1 & Windows200I use java examples "examples\Converter"I can compile all class file and make new applicationand EJB But I can't deployment the Application when deploymentprocess.It use messagebox tell me below:There was a deployment ...

How to which validate Java program for proper Javadoc tags

162 byte By kyogesh21 at 2007-12-19
Is there any utility which validate Java program for proper Javadoc tags ?I appreciate all kind of help .Thanks-- Yogesh

No compiler after installation ?

400 byte By ncdevelopera at 2007-12-18
I had installed "j2sdk-1_4_2-beta-windows-i586" and after installation I had noticed that there is no javac.exe file. I could not type the javac command in dos shell due to this. am i missing something here ? I had last programmed in java more than a year back and now I am confused why there ...

Netbeans

533 byte By twist_chicka at 2007-12-11
I'm not quite certain if this is the correct place to post a Netbeans question, but I thought it might be worth a try. I am running Netbeans 5.0, and I am only writing quite simple programs at the moment. But when I have tried to run programs using various input/output classes, the compiler ...

Need a compiler or Viewer to view .class files

164 byte By flexman71a at 2007-11-15
I have some class files that I open up in Note pad, but can not view them to know what they mean. What program do I use to view these .class in Java? Thanks.

Java Errors and Error Handling - Fatal exception

216 byte By akiexjp23a at 2007-11-14
When I downloaded a software and installed, I saw the following java error message;'Fatal exception caught executing JVM runtime exception or error thrown from Java.'Why this message displayed?

Compiler API and Tomcat

457 byte By _-Mithrandir-_a at 2007-11-14
Hi!I am using the new compiler api to compile dynamically generated classes.To get the compiler tool i call:JavaCompiler compilerTool = ToolProvider.getSystemJavaCompiler(); when I run this from eclipse with the integrated tomcat everyhing works fine but if I deploy the application on the ...

Taglet javadoc error ClassNotFoundException

388 byte By fukuronezumia at 2007-11-14
I am trying to use taglets with javadoc with the examples from Taglet Overview, but I get the following error message when I run javadoc:javadoc: Error - Exception java.lang.ClassNotFoundException thrown while trying to register Taglet ToDoTaglet... .I have lib/tools.jar on my build path and ...

Java Web Start

400 byte By hopia at 2007-11-14
Hi,My apologies in advance, I posted this question in the wrong place before.I want to use Java Web Start but I do not understand something basic. Most all the classes in the JNLP API are interfaces. Is there already an implementation that I must include in the classpath or must I write my own ...

Error while ant build

3134 byte By snkssaa at 2007-9-25
I got the following error while ant build on Red Hat Linux OSPlease can anybody give me the solution..Thank you....java.lang.InternalErrorat java.util.zip.Deflater.deflate(byte[], int, int) (/lib/ssa/libgcj.so.4.0.0)at java.util.zip.DeflaterOutputStream.deflate() (/lib/ssa/libgcj.so.4.0.0)at ...

non-static method... cannot be referenced from a static contex

1420 byte By starslighta at 2007-9-25
I've read a ton on this topic but none seem to fit my needs. I continue to get the "cannot be referenced from a static context" error. I understand that it is because I am referencing a method that is not static in another class, with a static main method of another class but from my ...

Can't open docs after scanning

393 byte By joseph777a at 2007-9-25
After I scan a document using my HP 1310, I am unable to open it. I click on the file to open it but I keep getting the following message:JAVA VIRTUAL MACHINE LAUNCHERInvalid or corrupt jarfile:C:\Documents and Settings\My Documents\scan.pdfCan someone tell me how to fix this problem? I am ...

javac under BASH

436 byte By christo4711a at 2007-9-25
Currently my installation script is messy because I discriminate between a DOS system or a UNIX system. This isnecessary, because java seems to be unable to use the file namingconventions and separator characters of the calling commandinterpreter (csh or cygwin-bash).I guess that it is ...

Calling JVMTI outside JVM threads

797 byte By b_duncana at 2007-9-25
Hi folks,I'm writing a profiler-type application in C with the JVMTI. In Agent_OnLoad, I create a new thread which accept()s connection and passes them to another new thread which handles data from the network. I want to be able to control my agent over the network, specifically using ...

very special class objects detected

2373 byte By lldaedaluslla at 2007-9-25
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 ...

How to compile java code from jsp page durining runtime

140 byte By Ankoor_Mehtaa at 2007-9-24
plz help me how to take java code in a text box from the user and compile and show the result online of the code inputted by the user

cannot find symbol constructor

5646 byte By noobie_Gal87a at 2007-9-24
i have been trying to debug this code... But i m not able to.. Hope u guys can help me.. Thanks a milllion!!!import java.awt.*;import java.awt.event.*;import java.awt.geom.*;import java.awt.image.*;import javax.swing.*;import javax.swing.event.*;public class TryOut extends ...

New to programming in Java. Need help please

212 byte By asiandolla at 2007-9-24
Hi all,I am just learning how to program in Java. My question may sound stupid but I need your help. What program can I download to write java codes? Please help need it asap for my class. Thank you

boolean size and compiler

109 byte By Motshya at 2007-9-24
hi alli need to know sun says that boolean has undefined size so where the value will be stored

Nullpointer Exception

696 byte By Tesa at 2007-9-24
Hi,think i have missed something at the basic java course :-(A nullpointer exception is a fault that is caused by something pointing to a referance that is null. Is this correct?I磎 making a program that is to manage my cd磗. I use a gui as a user inteface. The problem is that i get a nullpointer ...

Can Someone Please Help Me With This

369 byte By Pillar22a at 2007-9-24
i keep getting booted from a game. It is online and it runs on java. these are the errors in the console.Error: 99205, -1024, 1, -65, java.lang.ArrayIndexOutOfBoundsException: -1024Error: 91456, MAARFNGV@ec4a87, [LXQKSIEVT;@110fe28, MAARFNGV@9e29fb, -72, java.lang.NullPointerExceptionError: ...

Javamake download failure

479 byte By dpecoraa at 2007-9-24
I tried to download Javamake from the experimentalstuff.com website, but the download attempt fails with an error message "Sorry, can't get license terms for Java_Make_Tool-1.3.3". I can't find the jarfile on the internet, and the publicly available email addresses for the author don't seem ...

Help me out please

424 byte By Pillar22a at 2007-9-24
i got a error on the consoleError: 45052, 0, 1, -1024, java.lang.ArrayIndexOutOfBoundsException: -1024Error: 45052, 0, 1, -1024, java.lang.ArrayIndexOutOfBoundsException: -1024Error: 45052, 0, 1, -1024, java.lang.ArrayIndexOutOfBoundsException: -1024Error: 45052, 0, 1, -1024, ...

java.lang.NoClassDefFoundError

623 byte By bemar412a at 2007-9-24
Hi @ all,I wrote a app with 3 classes inside of a package. One of the 3 classes is my main class with the main-method.I wrote the stuff with Eclipse and I had no problems. The code is compilable and runs inside of Eclipse.If I want to execute the code outside Eclipse with my JRE I will get a ...

Nullpointer exception in oracle.jdbc.ttc7.TTCAdapter

130 byte By sandeep_ocwena at 2007-9-24
Hi , all while executing the stored procedure I am getting this error, please help.my ID is sandeep.shukla@ocwen.com

Compiling version

135 byte By Catharsisa at 2007-9-24
Hello,I would like to know if it is possible to know the version and/or the JDK used to compile a class.Thank you.

Need to extract class files from win32 exe

203 byte By zGolluma at 2007-9-24
I have a very old java exe which uses snjrt11.dll and snjawt11.dll files to run java classes packed in it. Is there any way to extract those classes that were packed I guess by Symantec's Cafe...

What is the language of javac

155 byte By Taysa at 2007-9-24
I want to know what is the language in javac was written? I havr seen a lot of sites saying that it was written in Java, but I want a secure source.

error while using java thin drivers to connect to Oracle scott.emp table

2285 byte By chamanlalcharliea at 2007-9-24
I am using the below code to connect to scott.emp table using jdbc tyoe 4 driver and getting the error posted below please help...thanx in advance.import java.sql.*;public class TestJdbc{public static void main(String[] args) {try{DriverManager.registerDriver (new ...

chinese zip file have encoding problem while downloading

482 byte By Riaz_Ansaria at 2007-9-24
Hello Java Scholorsi have write one programe to download the contents,when i download this file through the jsp page and give the english file name.its downloaded properly and working fine also.but when i give the file name as chinese then also downloading is correct and its working fine.but ...

How to Keep the java.exe memory usage in control

339 byte By memory_leak_problem_efirsthelpa at 2007-9-24
Hi all,.My application is developed using tomcat 4.12 and jdk 1.4.2 and SQL server 2000. After all users ( 5 users ) logged out and the application is closed, Still the Memory Usage of Java.exe is in peak.How to solve this problem?.My java.exe is should go back to its original usage before all ...

rmic Compiling issues.

1145 byte By BRBadea at 2007-9-24
I have been having multiple issues trying to compile stubs/skeletons using the rmic command on a program that I wrote under both Windows 98 and XP, both with java 1.5.To simplify things, I tried using a HelloWorld example from the internet as well, but to no avail. I am generally confused about ...

help with error

3158 byte By HipGeckoa at 2007-9-24
thanks in advance for reading my post. any responses are greatly appreciated.i am trying to play an online java-based card game at http://taroky.net/i was able to play successfully 1 time but after logging in again and clicking the join table button (Pripoj se), an applet window appears and a ...

executing code in wsad

93 byte By Barbiea at 2007-9-24
HelloCan anybody pls tell me how to execute code in wsadThanku in advace

Compiling Java on PDA

137 byte By torrecama at 2007-9-24
I would like to know if it磗 possible to compile a .java file of source code on a pocket pc as I can do on a desk pc,thanks,

Java Startup problem with Matlab 7.0.1 in XP Pro

345 byte By orlaya at 2007-9-24
Does anybody know how to fix the problem with starting Matlab 7.0.1? I was able to install Matlab and run the program. After I installed other programs (Xilinx ISE and Modelsim), Matlab didn't start at all. I also got error for using MSN instant messenger and Yahoo IM. If anyone know to fix ...

Help

368 byte By Lorza at 2007-9-24
[i]Hi new here and never used Java before having to do it as part of my course. I got told to come to this site and download JSE 1.4.2 and then go and download from DrJava the problem I'm having is that i keep getting error msg saying no compiler. Could some one please explain how I go about ...

error no package system?

340 byte By gtrdude18a at 2007-9-23
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 ...

-target cldc1.0

519 byte By yosibotzera at 2007-9-23
i am trying to compile a class using jaavc 5.0 for midp using -target cldc1.0 and -bootclasspath which points to all the midp classeseven though the NoClassDefFoundError.class was introduced only from cldc1.1 while i am compiling my class the compiler generates the code with ...

Incompatible types error with ANT build, compiles fine with MyEclipse

964 byte By javvvaa at 2007-9-23
The code below compiles fine with MyEclipse but does not compile for Ant with incompatible types error.incompatible types; inferred type argument(s) ? do not conform to bounds of type variable(s) [javac] found: ...

java.security.AccessControlException

2121 byte By rajeshnr@mailb0x.coma at 2007-9-23
Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)at java.security.AccessControlContext.checkPermission(Unknown Source)at java.security.AccessController.checkPermission(Unknown Source)at ...

EOFException with Server

4285 byte By halfpeawa at 2007-9-23
I抦 a currently creating a client server program at work that passes a several different types of MessageObjects back and forth. All of my different messages extend MessageObjects and implement serializable. The problem I am having is that when I try to pass certain messages from the server to ...

Urgent please help

459 byte By Java_Clasicsa at 2007-9-23
Hi all,I have an ear file which is used to connect to remote site using some API and get some records from remote database. When I first run the application in JBOSS it is giving an error saying unable to connect to remote server. But in the second run (I stopped the server and restarted) it is ...

problems installing java

192 byte By Fyreleza at 2007-9-23
auto install wont work, says something is wrong with proxy settings when it gets to the end.the offline install says "error reading setup initialization file"please advise

fork is failed

217 byte By rnaga at 2007-9-23
I got this failure when I am running testsuite:(of jboss application server) /home/jyothib/src/jboss/jboss-4.0.0-src/testsuite/build.xml:6220: Process fork failedcan anyone give solution for this?

unexpected error

15781 byte By leonardma at 2007-9-23
I am running a java application and this application shuts down multiple times a day. Anyone an idea?## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x678e4215, pid=3884, tid=2532## Java VM: Java HotSpot(TM) Client VM ...