Third-Party Complier in J++

263 byte By watertownjordana at 2007-9-28 14:02:10
I will post this in a few forums for better results.I have Visual J++ 6.0 (and Visual Studio.NET), I want to use all of the new J2SE 1.4.1 APIs, but the J++ Complier is only 1.2-compliant. Does anyone know how to have J++ use a third-party complier?

Compiling with the -g option?

383 byte By mightymightyeddturnipa at 2007-9-28 14:02:38
Hi there,yeah, I would like to know if it is possible to tell if a class file has been compiled with the -g option. I would like to do this since I am writing a debugger that requires java files that have been compiled with this option - in order to access debugging information; and without it ...

java.lang.UnsatisfiedLinkError

2029 byte By admada at 2007-9-28 14:04:26
i just downloaded and installed j2re1.4.1_02 on Red Hat Linux 8.0. It installed correctly and i also set the path for java in .bash_profile. But when i try to start the java ControlPanel i get the following errorException in thread "main" java.lang.UnsatisfiedLinkError: ...

JDK 1.4.1 - keyEvent and the tab key

414 byte By beaVera at 2007-9-28 14:04:29
I'm not quite sure if this belongs here, but I'll try anyway... I recently installed the j2sdk and jre 1.4.1_02. but, running my applet, I found that the keyListener did not anymore process (or receive?) any events concerning the tab key. I checked most of the rest of the keyboard, but the ...

Exception in thread "main" java.lang.NoClassDefFoundError:

734 byte By AndyT_uka at 2007-9-28 14:06:56
HI guys, i am having the following problem when running any of my programs. It compiles fine, and then produces the following error message at runtime.Exception in thread "main" java.lang.NoClassDefFoundError: HelloHello is the name of the class that i am writing. Previously had no probles with ...

Problems with javax.swing.* (Linux)

847 byte By saxelsena at 2007-9-28 14:07:31
I'm using RedHat 8.0 and I've installed j2sdk.1.4.1_02. My classpath has been set to /usr/lib/j2sdk/bin:/usr/lib/j2sdk/src.zip(I've carefully followed instructions listed in other topic in this forum.). Now I compile the folling file:/*.....................................*/import ...

another "newbie" - cannot compile

771 byte By KristineOa at 2007-9-28 14:11:37
I am totally new to java...I have read a lot of the previous postings to try to sort this out, but I cannot seem rectify my problem (I think it has something to do with the fact that I don't know what I am doing!)I cannot compile - and get the error msg 'javac; is not a regcognised as an ...

java.io.InvalidClassException

2159 byte By noshankusa at 2007-9-28 14:12:22
Hello,I have tomcat running the JSP files for an online application. The error messages I am getting when I try to open a particular jsp file (summary_detail.jsp) is written in the log file of the application, and is as follows:ERR summary_detail.jsp: java.io.InvalidClassException: ...

extension

198 byte By lospherisa at 2007-9-28 14:15:36
I am programming on a net work and cannot get it to save as a .java file. the best i can get is a .jav file that the compiler wont recognize. i am on an NT net work so any help would be great

Parse errors

1148 byte By BennyAkessona at 2007-9-28 14:15:39
Hi!I'm currently working on a project using IntelliJ Idea. I've been generating Javadocs for quite some time but recently there has been some errors that are making me go crazy.All classes get some kind of parse errors cause the generated files look really strange.There are asterixs placed in ...

How do I get more debugging info from a JVM crash?

701 byte By bitshiftera at 2007-9-28 14:16:00
I'm experiencing a JVM crash running my webapp on Tomcat 4.1.18 with J2SE 1.4.1_02 on Windows 2000 SP3.When the crash happens I get the following error:****************Another exception has been detected while we were handling last error.Dumping information about last error:ERROR REPORT FILE = ...

Main thread isAlive() after an unhandled exception

1186 byte By je999a at 2007-9-28 14:23:11
It appears that the main thread is "magic" in some way; after main() dies from an unhandled exception, isAlive() still reports true and join() waits forever for the (now moribund but apparnetly undead) main thread to die.Is there any way to detect (reliably) whether main() is really alive, as ...

charset and docencoding options

640 byte By dcardera at 2007-9-28 14:25:43
Could someone clarify the meaning of the documentation for -charset and -docencoding? The documentation for -docencoding states "Specifies the encoding of the generated HTML files."Does this mean that if I specify the following:c:> javadoc -docencoding "EUC-JP" mypacakgeJavadoc will ...

How to JavaDoc[tm]

186 byte By devisama at 2007-9-28 14:28:43
Hii need to java doc feature and am first time user of itcan any one say me how to start with it orany tutorials regarding this java doc featurethanks.

Creating a java executable

148 byte By kupeka at 2007-9-28 14:30:25
Hi, I want to compile a java program to create an executable in Linux. How can I do that? Is there a switch or something of the sort? Thanks.

Javadoc for LInux: Inavailabaility of source files

814 byte By snodxa at 2007-9-28 14:30:53
Greetings everybody,I currently work on Mandrake Linux 7.2.For the purposes of Java development I frequently need to refer to the j2se 1.3 javadocs.So one fine day I decided to download it. But unfortunately I am getting only a Windows unzippable javadoc.zip version for download which I dont ...

resolving type names during compilation

625 byte By al_bagehota at 2007-9-28 14:35:28
Hi,I have a question about how the default (or any other) java compiler resolves type names when compiling several files. How does the compiler _efficiently_ organise itself so that it can resolve type names that it has not yet parsed?take a trivial example://file a.javaclass a{b myB;}//file ...

Java Applet Problems

555 byte By Creative210a at 2007-9-28 14:37:30
I have java installed infact I have Java 1.2. Plus I have updated my service pack for OS XP just 10mins ago. Well heres the problem. I was prompted to install java applet at the website I was playing a game at...and I accidently said "NO". Now all my applets are [x]'ed out. This is driving me ...

Problems with memory

312 byte By Juan27a at 2007-9-28 14:39:13
Hi everybody, I am building a GUI using swing, everything is ok, but some times the OutOfMemoryError() occurs. I have 256 Mb in my PC, but in my application I use a lot of components too. Does any body know how can I manage the memory and free the space that is not in use?Thanks in ...

Use Javadoc on WebServices

181 byte By suneja at 2007-9-28 14:44:20
We have made some demos with Apache AXIS.The files are in Java but with extension .jwsHow can Javadoc be used without changing the file name?Regards Sune

beginner 'running' problem

1571 byte By righteousravena at 2007-9-28 14:44:56
i am trying to use a class, FontChooser, from package org.compiere.plaf. The class is stored in c:\compiere.jar.I have import org.compiere.plaf.*; at the top of my class (FontChooserTest.java).my class compiles with: javac -classpath c:\compiere.jar c:\FontChooserTest.javahowever it gives me a ...

Error on Page

298 byte By jdbluea at 2007-9-28 14:45:16
I installed Java on my computer, I was getting the memory could not be read message but I fixed that. However, Java still does not work. It is selected in IE Options, but for some reason whenever I try to click on a button for a Java applet it still gives me an error on the page.

Please help!..redirecting error messages

183 byte By MUGGINS20a at 2007-9-28 14:46:18
I'm developing an application and I wish to redirect all error messages to a separate .txt file. Is this possible?This is very urgent, if anyone can help!Thanks.

Help! JAVA is closing my web browsers

8999 byte By j32953a at 2007-9-28 14:48:17
I recently had to reinstall everything when my C: drive crashed and now, after installing the latest version of JAVA, whenever I go to a site that uses JAVA applets (such as pogo.com) when the web browser tries to open java the entire browser is closed. How do I get JAVA to stop closing my web ...

Executable jar can not run properly away of the program package

357 byte By jyahmeda at 2007-9-28 14:48:55
I made a jar file for my program package.when the jar file is saved under the same path of my program package,the jar file works properly.But when the jar file is saved under another path, it works without showing or using all the other files that the package has like the images, text files and ...

Help with java.lang.NoSuchMethodError

1840 byte By JavaStudent78a at 2007-9-28 14:50:52
Hello everyone,I am new in these forums, and I really hope that you guys can help me out. Here is the error that I get when I try to compile my code...java.lang.NoSuchMethodError: Equations.Mario(D)Dat RandomSampling.main(RandomSampling.java:92)Exception in thread "main"and here is the ...

HELP I CANT GET JAVA APPLETS TO WORK

312 byte By darren700a at 2007-9-28 14:51:06
i downloaded java 2 runtime enviroment SE v1.4.1_02 and on the site it says if java is working properly you wil see the coffee cup, i did, so i thought that everything would work, but i was wrong, now any site that uses java to open new windows doesnt work.!!!! someone please please help ...

Javadoc/Taglet error

2461 byte By peterg104a at 2007-9-28 14:54:32
I'm trying to start the sample ToDoTaglet working, but javadoc responses with a exeption:javadoc: In doclet class com.sun.tools.doclets.standard.Standard, method starthas thrown an exception java.lang.reflect.InvocationTargetExceptionjava.lang.NoClassDefFoundError: ToDoTaglet (wrong name: ...

create javadoc for java files under development

453 byte By sibijva at 2007-9-28 14:55:33
hii would like to know if there is any method by which i can generate javadoc of java files that are in the process of development. What i do is first create a skeleton java file with just the methods defined along with their javadoc comments and then start implementing the methods. I do a ...

Problem with database

586 byte By brunoheliusa at 2007-9-28 14:56:37
Anyone can say if there is any problem in this code?In the java there is no problem, but in the console says that : "the column name idsecao not found"public int getMaxId(){int max = 0; try{ stmt = conn.createStatement(); //connect the statement to the connection SQL ="select max(idsecao) ...

Exception in thread "main" java.lang.NoSuchMethodError: main

1160 byte By doremi1a at 2007-9-28 14:57:46
Hi all,I get the above error msg during runtime. Need to get this fixed urgently. Can you pls kindly give me some advise how to solve the problem? Thanks alot//import aber.util.*;import aber.util.TextInputReader;import aber.util.TextIOException;class Customer{private String name;private String ...

variable might not have been initialized

2433 byte By HaggisMana at 2007-9-28 14:59:58
My apologies if this is posted in the wrong forum, it seemed the most suitable one. I am new to Java and cannot correct this problem I have been having ie. "variable riceType might not have been initialized". As far as I can tell the switch statement isnt reading riceType character correctly. I ...

Socket Error: Address in Use

1101 byte By edster3a at 2007-9-28 15:08:22
Hello. I am opening a Socket connection to a router which is acting as a terminal server (by connecting to a particular port and IP, a serial port can be accessed through a TCP/IP network). I am reading am writing to a GPS receiver on the other end.The Socket opens fine. I close it with ...

The mistery of the double insertion!!!

4520 byte By brunoheliusa at 2007-9-28 15:14:25
I can磘 understand why my code sometimes inserts two rows in the database with the same information.See my code:<%! Connection conn;Statement stmt;Statement stmt2;Statement stmt3;String url = "jdbc:postgresql://localhost/trf";String assunto = " ";String titulo = " ";String subTitulo = " ";int ...

Forte javadoc output location mystery

223 byte By MartinRineharta at 2007-9-28 15:14:54
I generate javadoc from Sun ONE Studio. Running a search I found MyClass.HTML in 5 different places, only one of which was where I really wanted it. How can I tell it where to put my javadoc?Thanks in advance.

trouble with <table>

349 byte By chfaurea at 2007-9-28 15:16:00
I'm trying to use the <table xxx=yyy> <tr xxx=yyy> <th xxx=yyy> <td xxx=yyy>.In each summary "package for class" or "methods" the /tags are not properly done. The produced javadoc become unusable.How can i format my class/interface and method comment without alteration ...

@version tags and CVS

109 byte By toddela at 2007-9-28 15:16:58
how does one set up CVS to auto generate version information for code that contains @version %I% tags?

No package, class, or source file found named...

573 byte By dmonnierfra at 2007-9-28 15:17:22
I use the JDK 1.3 and I need to generate the documentation of all the packages of my application. So, I made some batchs for generate the documentation of the wanted packages.Content of the batch :javadoc -d "D:\API" -author -version -private com.project.toolboxThe directory where are my ...

NoClassDefFoundError

647 byte By BadLandsa at 2007-9-28 15:22:53
Hi all,Sorry to bother you with something as trivial as this but I have been working on this for 2 hours and it just WON'T WORK !!Here goes :I created (for test reasons as it wasn't working with my proper application) a HelloWorld.java file situated in the root of my filesystem (i.e. ...

"Recursive" Compilation

660 byte By ronniebahlstena at 2007-9-28 15:24:59
Hi!Is there an option with JAVAC that could compile a entire directory tree with its java sourcefiles?I've searched the net and all I can find is information on how to compile sourcefiles specified in a @file.While it's easy to do that, I'm not interested in writing that file consisting of ...

Compiler Crashes!!

2916 byte By ballerinaclairea at 2007-9-28 15:25:29
Hi, I'm using J2sdk1.4.1 on Windows XP pro. When I compile my code, the compiler crashes! It seems to work sometimes, and not others, and I think it tends to crash when I'm importing and using items from javax.swing.*Here's what comes up when I try to compile:C:\Documents and ...

Socket alive after program exit

215 byte By elsabernya at 2007-9-28 15:30:12
The java socket connection remains alive when the the program exits abrubtly. No exception is thrown at the listening socket side. Since timeout is set, InterruptedIOException is thrown at timeout intervals.

java.net.ConnectException : connection refused

3218 byte By arundhatima at 2007-9-28 15:30:19
developing a chat application. i dont have a network to work with so i'm testing it on a standalone pc with window xp. can someone explain to me what i should do to sort this out.here are the errorsC:\Documents and Settings\arundhati\Desktop\project\project3\javafiles>java ...

Error while loading an applet

786 byte By sheila_cheza at 2007-9-28 15:31:25
HiI have created a Swing applet - "IPManagerApplet", and it runs perfectly well in the local machine's browser (IE5). But when I try to run it from a different machine in the network, it gives a Class not found error. The error message i got from java console is:Error loading class: ...

Compile classes in a package

345 byte By podollb1977a at 2007-9-28 15:36:08
Hi,If I have a class in a package and I use the command prompt to get to the directory where it is located what is the syntax I need to compile and run it? I have tried for example:javac MyClass.javajava MyClassBut since it is in the package that normal syntax fails? What is the ...

have problem with java cannot chat in chat room

833 byte By raider1038a at 2007-9-28 15:38:52
hi i am having a very difficult time chatting in www.raiders.com/chat room. this has being going on for 6 months now. or maybe more.what happens is when i log in my user name then hit enter it goes to chat room but on top it says connecting to whatever address it is for chat room. at the bottom ...

JVM needed

229 byte By Nita_aua at 2007-9-28 15:42:25
When i try and complie a java file, it comes up and tells me that it cant find the JVM and that it wont work. Help, it seems im having an never ending number of problems, and i havent even compiled anything yet.Nita

Javac maximum number of errors

361 byte By jspflya at 2007-9-28 15:43:49
Hello,I have a need to be able to specify a a command line argument to "javac" so that it will output more that it's default 100 errors.By default once javac encounters 100 compile errors, compilation stops, I need to be able to increase or disable the 100 compile error limit.Could anyone be ...

error compiling [java.lang.NullPointerException]

971 byte By shirza at 2007-9-28 15:45:26
Exception: java.io.IOException: CreateProcess: javac -d C:\j2sdk1.4.1_02 C:\\SimpleCalculator.java error=2at com.elixirtech.ide.build.AbstractBuildStep.addErrors(Unknown Source)at com.elixirtech.ide.build.JavaBuildStep.build(Unknown Source)at ...

Help with Javac

355 byte By Puckme32a at 2007-9-28 15:47:09
I have just instaled java sdk 1.4.0_03. When I try to compile my .java file with javac, I get the message:"Exception in thread "main" java.lang.NoClassDefFoundError: con/sun/tools/javac/main".I have been trying to find out whats wroung for about a day now. I would be glad if anyone could tell ...