Recent update: 2008-5-9
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
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", ...
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 ...
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?
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 ...
Is there any utility which validate Java program for proper Javadoc tags ?I appreciate all kind of help .Thanks-- Yogesh
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 ...
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 ...
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.
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?
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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
hi alli need to know sun says that boolean has undefined size so where the value will be stored
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 ...
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: ...
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 ...
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, ...
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 ...
Hi , all while executing the stored procedure I am getting this error, please help.my ID is sandeep.shukla@ocwen.com
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.
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...
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.
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 ...
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 ...
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 ...
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 ...
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 ...
HelloCan anybody pls tell me how to execute code in wsadThanku in advace
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,
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 ...
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 ...
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 ...
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 ...
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: ...
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 ...
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 ...
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 ...
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
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?
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 ...