HELP! I am a moron when it comes to this stuff but I am trying very hard to learn. I followed the instructions, I believe, exactly, I have recenlty downloaded Java onto 2 different computers (also 2 different versions, I believe). I am trying to learn how to program but I cannot get anything to ...
I am generating a java file, that I want to compile using 1. com.sun.tools.javac.Main 's compile api2. the classpath that the program which generated the java file was started with.The compile api takes a classpath argument, which I cannot hard code but is the same as the classpath of the code ...
I installed 1.5.0_07 from my hard drive after downloading the .exe from the sun site....I see no Javadoc.exe in my bin folder.Did this move? If so where can I find it? I
17279 byte By
rivjmra at 2007-10-3 1:10:02
This message appeared on my desktop last night. I have no idea what this means. Could someone please assist me? Thanks in advance. ## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d0e7ab9, pid=2244, tid=348## Java VM: Java ...
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, all. I dont know that I should write this topic in here, but there is confision in my mind these days. I tried to learn C++ after JAVA, this's come me very diffucult at all. After that, I searched some compilers like Koffea, Jikes and GCJ to help me write easily, and run under linux. I ...
1096 byte By
jhh3000a at 2007-10-3 1:19:20
I've been doing a lot of reading on the discussion about JDK 1.5 and JDK 1.4 here. I think I've dug myself into a hole that will be very hard to get out of. And yes, it's my fault, but this is my first time developing a real J2EE application... sigh.Here's the problem: I have 3 months' of ...
We're trying to remove t he following section of what Javadoc finally spits out: Its the tree that is generated at the top of the page, as shown here: http://i57.photobucket.com/albums/g220/WesB83/inquiry.jpgWe want to remove t hat and be able to list our documentation at the top of the page. ...
418 byte By
cfhlap0a at 2007-10-3 1:21:17
Running an app with a JVMTI agent attached, I cannot specify a max heap greater than 320Mb, even on a 1Gb machine with hardly anything running. Specifying for example -Xms256m -Xmx512m results in following error:Error occurred during initialization of VMCould not reserve enough space for object ...
207 byte By
frea at 2007-10-3 1:24:56
Hi,Does anyone fo you know how JUnit works? Tried searching it online and found very minimal data. It would be great help if someone really helped.Thank You,Freethan
I revised a custom doclet for JDK 1.5. When I run the javadoc tool on my source code, the doclet appears to run and produce the expected results. However, I am getting NullPointerExceptions after calls to ReturnTaglet.getTagletOutput. I would like to fix my doclet to avoid these exceptions, but ...
Hi,i want javadoc to generate documentation for all the code from a given directory includng all the packages?I have a directory called sources where the source code resides. This latter is constituted of two packages each one including 3 subpackages.I would like to have a command that would ...
Hello All,I have been trying for some time now to generate a PDF document using the MIF Doclet.I am doing this through IBM Rational Software Architect (a broken version of eclipse for those of you who aren't aquainted), but essentially this feature works as it does in Eclipse.My problem is I ...
The pop-up thing that u get wont comeThis is what i get when i try to get in and when I press java consoleJava Plug-in 1.5.0_06Using JRE version 1.5.0_06 Java HotSpot(TM) Client VMUser home directory = C:\Documents and Settings\Kerry Hongload: class IELoader not ...
2348 byte By
jonsja at 2007-10-3 1:34:34
When I try to generate javadoc through IntelliJ IDEA 5.1.2 I get this result:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -package -splitindex -author -version -classpath /Users/jonsjoberg/Desktop/mysql-connector-java-3.1.13/mysql-connector-java-3.1.13-bin.jar ...
Hello ForumI have downloaded eclipse-SDK-3_1.2-win32.zip and installed but I couldnt findout J2EE development in it (that how we add session beans, how we configure application server and how we generate entity beans)do I need any plugin to work with J2ee in it,Please help me - Thank u very ...
Hi, In my ClassLoad function I'm tyring to get the class name from the jclass that is passed to the function so that I would have something like this:static void JNICALLcbClassLoad(jvmtiEnv *jvmti, JNIEnv* jni, jthread thread, jclass klass){const char *class_name;class_name = ...
I am currently trying to adjust the appearance of the javadoc overview page, being able to generate groups to show on the page. However, no group names show on the page.<group title="LDT"><package name="LDT"/></group><group title="Quickstart"><package ...
We are implementing HttpSession, for a mock object for testing. However, it has methods that access a deprecated class (HttpSessionContext). Although we mark our implementation of the method that accesses this class (getSessionContext) with the annotation @Deprecated, we still get two error ...
721 byte By
Mman_a at 2007-10-3 1:46:29
Can I compiler servlet with java compiler?Here is an example of it:import javax.servlet.*;import javax.servlet.http.*;import java.io.*;public class HelloWorldServlet extends HttpServlet {protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException , ...
160 byte By
bourkeya at 2007-10-3 1:53:28
I cant access my friends and my photos in Msn spaces becasue a java error comes up saying Missing frameworkCan anyone help me pleaseCameron
345 byte By
AndreLia at 2007-10-3 1:53:50
Hi,The document says:The Java Platform Debugger Architecture (JPDA) consists of three interfaces designed for use by debuggers in development environments for desktop systems.So, it is for desktop systems only. Why it can not be used in J2EE environment?Any information would be appreciated. ...
Hey,I'm investigating alternatives to MethodEnter/Exit which allow me to probe thread states over the course of a program run. The latest avenue of testing is to use a timer to periodically query all threads (followed by recording them in an uninteresting way). It seems more difficult than I ...
I have a SiteSelector.class stored in: "D:\DATA\Java Programmes\Networking\"and a SiteSelector.html stored in :"D:\DATA\Java Programmes\Networking\HTML files\"Here is a part of the code of SiteSelector.html:..............................<applet code= "SiteSelector.class" width=500 ...
check this code. When my tomcat asks if it is null WHEN IT IS NULL, the whole thing falls apart, fine otherwise.......?String [] sizes = request.getParameterValues("sizes");System.out.println(sizes);try{if (!sizes.equals(null))//THE NULL LINE THAT CRASHES{request.setAttribute("sizes", sizes);}} ...
3323 byte By
Zodaka at 2007-10-3 2:13:12
Hello.I have some problems compiling my sources with Java Compiler javac in version 1.5.0_06 on Solaris 10. The application has to be compiled with library files from the Oracle OC4J 10.1.2 Server. When running the compilation, the following error occurs:[javac] The system is out of ...
When game window pops up it is just a solid color background page. I can hear the sound of the game but there is no display. No adds pop up nor the game itselve. I have uninstalled reinstalled windows. Cleared cache ...installed Flash and Shockwave and done everything I can think of. This used ...
I tried looking for my particular failure on the forums and googling it, but no one else seems to have my particular affliction.Obviously, when I try to load up my applets I created, even something as simple as a text readout, it gives me the notinited bit in the status bar.Doesn't work in ...
I don't know if this is the correct area for the question, so I apologise if it is not...The company I work for is budgeting a seperate build server for our developers to use. We are currently 100% sparc in the server environment. Does anyone have any real work benchmarks or experience with ...
1547 byte By
dornada at 2007-10-3 2:20:09
I'm having problem with the java command :[root@myServer datos]# export CLASSPATH=/usr/local/jdk/lib:/opt/tomcat/webapps/axis/WEB-INF/classes/org/enyuq/software/datos[root@myServer datos]# /usr/local/jdk/bin/java InformacionServidorLicenciasException in thread "main" ...
To describe specific algorithms, it's usefull to use the local language (instead of english) in the javadoc texts. Is there some kind of functionality to support multiple locales?Example:/*** @Locale_EN{This is the englisch description.}* @Locale_DE{Dies ist die deutsche Beschreibung.}** ...
160 byte By
tmdfana at 2007-10-3 2:28:41
I have several static data files(such as icons, images and etc.) need to be loaded by the program. How to add them into the NetBean project?Thanks
Hi All,I am currently interested in bytecode execution timings, and have been playing with the JVMTI for this purpose. The JVMTI allows one to register a Single Step event with an agent in order to monitor JVM instruction completion. I was considering including a time call here to record the ...
Hey guys,Just wondering if someone can clue me in as to why for some classes I have written javadoc generates a Constructor Summary and for others it doesn't.I have a couple of classes that don't contain a default constructor (and only have a few static methods) but javadoc insists on ...
I am running this code, I gat about 8 errors, public class IdentifyMyParts {public static int x = 7; public int y = 3; IdentifyMyParts a = new IdentifyMyParts();IdentifyMyParts b = new IdentifyMyParts();a.y = 5;b.y = 6;IdentifyMyParts.x = 1;b.x = 2;System.out.println("a.y = " + ...
4090 byte By
Farawaya at 2007-10-3 2:42:40
hi guys, i've been trying to create a new method but I also get this 'class or interface expected' error. could you tell me what I'm doing wrong?import java.util.Scanner;public class FishShopApp1 {public static void main (String [] args) { Scanner sc = new Scanner (System.in); double ...
hi all,I'm a complete javadoc beginner and I just finished commenting my code. Now I don't know how to generate the documentation. Under Eclipse I start the javadoc wizard (File -> Export -> Javadoc) and it asks me for Javadoc Command and about the destination of the standard doclet. I ...
971 byte By
ran123a at 2007-10-3 2:45:43
I'm trying to compile a Javabean and get the following error (with the first few lines of the stack trace). How do I go about getting this to compile? The system is out of resources.Consult the following stack trace for details.java.lang.StackOverflowErrorat ...
144 byte By
red527a at 2007-10-3 2:47:03
I get the following error message when trying to connect to chat. Any help?java.io.IOException: Unable to read RPL_ACK from server
233 byte By
ran123a at 2007-10-3 2:47:59
I need to increase the stack size from javac - as I get the StackOverflow error while compiling. It seems like one of the methods is way too large. I can't find the compiler options to set the stack size. Thanks for any help.
507 byte By
citressa at 2007-10-3 2:49:13
A coworker commented today that it is better practice to use static Boolean constants instead of creating new Boolean objects because Booleans are immutable and creating new Boolean objects would therefore be a waste of memory. For eg. do Boolean.TRUE instead of new Boolean(true). However a ...
1276 byte By
ngeoa at 2007-10-3 2:50:53
Hello all,I wrote a java program and I get a null pointer exception for this line:for(int tmp=0;tmp<4;tmp++) allservers[tmp].setindex(tmp);// Null pointer exception.The line in main is this: (It calls a constructor which will be shown)ServerMonitor shopservers = new ServerMonitor();The ...
149 byte By
onioa at 2007-10-3 2:51:01
JAVADOC won't work in Netbeans 5.0 when i try to add it in the Library Manager, Platform Manager. But it works well in JCREATOR. Why is that?
The entry point for my program is a class called MainFrame. This is the main GUI for the program, and was built using Matisse. I can open the source code for the MainFrame class in Netbeans and it displays fine. If I then press the 'Design' button in the Netbeans editor toolbar, the IDE ...
elloI wrote a java class say (Money.java) which compiled fine. When I was importing it to another class (Account.java), the folowing error message appears:Account.java.1:'.' expectedimport Money;(an errow pointing to ";")I dont think the code is wrong, because when I cut and attach the Money ...
ok i downloaded this program from the internet and it asked me to go to the propeties of "my computer" - advanced - environment variables - path - edit and add ";C:\program files\Java\jdk1.5.0_06" to make the program work. But when i open the program the following apears: "Exception in thread ...
Hi,I'm an Oracle DBA. I got:'Error occurred during initialization of VMjava.lang.Error: Properties init: Could not determine current working directory.' when starting an Oracle Installation on Solaris 5.9.Could you please help me to understand the problem?Thanks,GiuseppeMessage was edited ...
Hello Everyone,I have been playing with examining the set of bytecodes executed by different Java applications using the JVMTI. However, I have come across an oddity with respect to how wide is handled. I wrote a simple hello world type program (prints "Hello World", then assigns 5 to a local ...
714 byte By
sickesa at 2007-10-3 3:19:10
Hello everyone,I am trying to create an API for only those methods or classes which we have agreed to support for customers. Is there a pre-existing tag, taglet, or docloet that will allow me to have javadoc run for only those elements containing a specific tag? It could be any combination of ...
Hey everyone, I have a problem compiling this .javaimport java.io.*;public class lector{public static void main (String args[]) {}public void lector() {listapersonas listap = new listapersonas();listaconocidos listac = new listaconocidos();String linea, per, con;persona ...