557 byte By
Stusya at 2007-11-27 11:48:12
Due to our loss of a software engineer who started this ongoing project many many moons ago I've come to compile it, but have the following error.I'm using netbeans 5.5 and JKD1.5 U12I've fixed all of the errors apart from this one:-table = new _cls2(model);Now the _cls2 class has not be defined ...
I'm working on a simulator that can run pretty slow at times due to it's massive size. There have been complaints made that sometimes when a user presses a button on the hmi, nothing seems to happen and they have to press it again. Do you guys have any incite into what could be causing this? ...
there is an error error message telling me that nonstatic method cannot be referenced to a context one... pls help me... i'm new in java and i'm still a student... it's my first time in java... thanks a lot... i really want to learn...here are my codes...package com.mybank.domain;public class ...
146 byte By
prabh13a at 2007-11-27 11:39:39
<p>The class files can be easily decompiled by various java decompilers. Is there anyway to seal or prevent class files from being decompiled.</p>
Using jdb I am able to stop by "stop at $Oracle.Procedure.DTP.PROCEDURE1:5" as seen below>main[1] stop at $Oracle.Procedure.DTP.PROCEDURE1:5Set breakpoint $Oracle.Procedure.DTP.PROCEDURE1:5main[1] cont>Breakpoint hit: "thread=main", $Oracle.Procedure.DTP.PROCEDURE1.PROCEDURE1(), line=5 bci=5what ...
283 byte By
PKDemona at 2007-11-27 11:35:57
<p>i am making a game server and i am using java nad when i go to use my compiler to compile every this comes up</p><p>This application has failed to start because jli.dll was not found. Re-install the application may fix this problem</p><p>can someone tell me when i done wrong?</p>
972 byte By
Ievaa at 2007-11-27 11:32:21
Hi,I am sure that most of us is developing applications using Eclipse and JCOP tools (or without that plug-in) and then come to the API javadoc generation.The problem is, that i am trying to generate my on-card package Javadoc. Everything is fine, but it doesn't find eclipse javadoc for jc221, ...
Hi guys, My app is mainly a wordlist crunching program. Its a swing app. There are two flat files about 10 MB each. The first part of the app is supposed to read all that data from the two sperate flatfiles and put them into two seperate Hashtables.The first first file get loaded fine into the ...
I don't know if this deals with my problem but I play a game that uses Java of course but whenever I'm on it, a few minutes later the client will close itself and I have to load it back up and sometimes the problem persists... I'm using the runtime env. 5 update 2 and and env. 6 update 2.... ...
266 byte By
Ievaa at 2007-11-27 11:10:27
<p>Hi,</p><p>I am new to javadoc mif doclet. I have already installed dzbatcher, but it doens't find a framemaker. I read, that versionb 5.5.x or 6.0.x has to be donloaded, but ha couldn't find it.</p><p>Coould you post me a link?</p><p>Best regards,</p><p>Eve</p>
633 byte By
serdioaa at 2007-11-27 10:53:42
Why compound assignment operators for booleans like "&&=" or "||=" are not defined in JLS? Is there any particular reason, or were operators just inherited from C/C++ ?If such operators were defined, they should have the same meaning as compound assignment operators like "+=" or "*=", that ...
3072 byte By
Meepa at 2007-11-27 10:51:20
The problem is 'throw new ClientException(e.getMessage());' the error message kept stating to be in try/catch but it's already in try bracklet. I tried placing the exception in other bracklet but it defeats the purpose of showing the exception in this specific bracklet. I'm not sure what's the ...
I have a C application which embeds a JVM (of course JNI). I'm trying to do some profiling with JVMTI. Is there any reason Agent_OnLoad would be called twice during the start of the JVM? I'm only calling JNI_CreateJavaVM once in the application I am attempting to profile using JVMTI but the code ...
1350 byte By
tx_vlba at 2007-11-27 10:37:23
I'm having a problem with connecting to www.AmericanGreetings.com without getting the following errors....and I don't know if these errors are Java errors or not....I have not been able to locate where these errors are coming from.....here are the errors I receive: Object doesn't support this ...
503 byte By
gj89a at 2007-11-27 10:37:00
Dear All,I am trying to build a small chat program that connect two computers on a LAN.As I'm not good with Java, I'm using the programs I found on this site: http://pirate.shu.edu/~wachsmut/Teaching/CSAS2214/Virtual/Lectures/chat-client-server.html Whenever I compile any of the programs, server ...
Hello everyone, I am new to this site and I just needed a little help with my code to finish it. Im not sure why I get the error stated above, but here is my code(s) from both classes.public class Triangle{private int base;private int height;private int numOfTriangles = 0;double calc;public void ...
299 byte By
Harloea at 2007-11-27 10:25:03
<p>Everytime I run Complier i get:</p><p>Note: stream.java uses or overrides a deprecated API.</p><p>Note: Recompile with -Xlint:deprecation for details.</p><p>Press any key to continue . . .</p><p>I'm fairly new to java, any help will do</p><p>Thanks</p><p>Message was edited by: </p><p>Harloe</p>
I'm running Mozilla 1.7.11 on Windows NT. In the last few days, Mozilla will crash any time I visit a site that uses certain types of javascript.The error message that pops up before crashing has the title "mozilla.exe - Unable to Locate DLL" and reads " The dynamic link library verify.dll could ...
Hi,i want to get the size of the heap before and after each gc.The code is below. However, at run time, I get the followingAttachCurrentThread:0ERROR: JVMTI: 115(Unknown): the first line shows the return value from the attachcurrentthread call, which seems to work ok. the next line is the error ...
I'm looking at the doc located here: http://java.sun.com/javase/6/docs/platform/jvmti/jvmti.html#jniInterceptThe code sample is also a part of the Java 5 JVMTI doc. Is this code correct? It won't compile the way it is, even when the obvious ommissions are coded back in.//JNIEnv ...
Hi,This is fairly high level question about the use of the above method, and indeed any timers in jvmti. Generally speaking the timers return time in nanoseconds set in jlong, which are signed. This means that the time returned by this method "wraps" every 2.147483647 secs. This is because jlong ...
258 byte By
yoaxa at 2007-11-27 10:10:17
I am using Netbeans IDE 5.5.1, on XP, and I was wondering if instead of using the javac compiler, I could set it too use the GNU Java compiler, the gcc-java for cygwin. Any help would be appreciated. Thank you.Message was edited by: yoax
711 byte By
niki4koa at 2007-11-27 10:09:32
I have copied my project to oder computer and whet a push RUN i have this exceptionDeploying application in domain failed; Error Flushing ConfigContext com.sun.enterprise.config.ConfigContext: Url=C:/Sun/AppServer/domains/domain1\config\domain.xml, ReadOnly=false, ResolvePath=true, LastModified ...
Please help me!!! I am new in java and I tried the next programm:import javax.swing.JOptionPane;class My_programm {int a;int b;int S;public static void main( String args[]) {{a = Integer.parseInt(JOptionPane.showInputDialog("First num"));b = Integer.parseInt(JOptionPane.showInputDialog("Second ...
14306 byte By
kvn07a at 2007-11-27 10:01:15
Hi,Whenever i try to enter the login page, it auto close the browser. Pls help. thanks.## An unexpected error has been detected by Java Runtime Environment:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x06c306ca, pid=3700, tid=3408## Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed ...
587 byte By
Terry_ba at 2007-11-27 9:54:43
Hi all,I have two simple classes1. 123_test.javaclass 123_test{}2. test_123.javaclass test_123{}I can compile second one successfully. But when I compile first one , the error is 123_test.java:1: <identifier> expectedclass 123_test^1 erroris problem class name starting with a number ...
getting an error when I try to compile code that contains the line:import javax.servlet.jsp.*;import javax .servlet.*;Yet, other classes in javax can be seen by the compiler such as javax.swing.*;
I am new to Java and am working through Sams Teach Yourself Java2 book. One of the examples gave me a compilation error. The problem code follows:C:\Java_Work\com\ramyam\ecommerce>java c Storefront.javaNote: Storefront.java uses unchecked or unsafe operations.Note: Recompile with ...
2027 byte By
Yoela at 2007-11-27 9:38:08
Helllo everybody,I'm trying MIF Doclet to generate a pdf report (I use java 6).I ve this error : Loading source files for package type...Constructing Javadoc information...javadoc: warning - Multiple sources of package comments found for package "type"MIF Doclet version 1.2 beta 2 (build date: ...
I wrote an application that opens up a series of large data files, jumps through the files to determine if they are of correct format and output any errors associated with the data contained within the files. To speed up execution of the program, I designed the program to open up each folder as ...
564 byte By
pkishora at 2007-11-27 9:13:56
Hi We have developed one tool, which conencts to SAP server and extracts data from SAP tables. This tool is working fine, but for some servers we are geting following error. Appreciate you help. Thanks Exception in thread "Thread-2" java.lang.OutOfMemoryError: out of memoryat ...
Hi to all! I made one application in which i can choose stuffs for printing, and maximum number of that stuffs is 15. Problem is that when I click on the button for adding stuffs all Forms have just closed and I got only log file with error. But sometimes I can add all 15 stuffs without error, ...
1865 byte By
shamexa at 2007-11-27 9:06:41
I keep getting Unhandled NullPointerException although the loginID is not null.public Secuser[] getBulkUserLoginID(String loginID){ Secuser[] user = null; try {String sql = "SELECT * FROM " + Constant.DB_REPORTCONFIG+ ".secuser s WHERE s.parent_login like '" + loginID + ...
Hi!I'm writting a very simple profiler using JVMPI. I intended to pause/continue it by sending signal, like kill -SIGUSR2 PID, to it, but whenever I did this, the java program that ran with the profiler stopped running, however the profiler kept running properly.Here's the code of the simple ...
502 byte By
klaasdea at 2007-11-27 8:57:58
HiI try to compile a lott of files with the command:javac -classpath c:\ -sourcepath c:\test\*.javaAnd that gives the following warning:warning: [path] Unexpected file on path: c:\test\AnalyzeAccNum.javaThe result is that that file is not compiled. And if I use javac to compile only that file ...
Hello.I'm very new to programming. I've been reading on methods. I tried to compile a piece of code. I created an object (a rectangle). I have imported the awt library and when i use objectname.getWidth and pass it to a variable and use it, it works correctly; However, when i use ...
5474 byte By
Exekyela at 2007-11-27 8:50:07
look guys im new on this of JAVA im starting a career on this but i have a lot of questions, the only one who can resolve this is somebody and not a manual xDis simple i just need an alternative(im sorry for my english but i cannot speak much english)the code have comments in spanish dont read ...
Hi,Can anyone let me know how can i handle exception tht r thrown from the method.With try and catch i dont have any problem but when i try to use errorpage and comment all try catch blocks in the page the block of code into method declaration throws exception which i m not able to ...
619 byte By
klaasdea at 2007-11-27 8:42:19
Hi I'm trying to compile my program but I get the following error:C:\Program Files\Java\jdk1.6.0_01\bin>javac -classpath c:\test -sourcepath c:\test\*.javac:\test\ProcessStatementLine.java:22: cannot find symbolsymbol : class AnalyzeAccNumlocation: class test.ProcessStatementLinestatic ...
I will start learning 3d in java and thought I should leave bluej and go for NetBeans. But it always takes days to make something new to work..... This is what I have downloaded and installed:- NetBeans IDE 5.5.1- java3d-1_5_0- java SE Development Kit Version 6 Update 1But I磎 getting: "package ...
So, after faithfully using Jikes (Best. Compiler. Ever. RIP) for many years, I've decided I'm too far behind the times, and I've moving back to javac for 1.5 and 1.6.However, the applications I'm writing must have the biggest reasonable userbase (usually in situations where the users are ...
436 byte By
bspikea at 2007-11-27 8:25:54
I have a DLL that serves as both PI and TI library. When using PI, I can specify -XmsNNNNm -XmxNNNNm but the same setting would not work when switching to TI. I must lower the heap setting by as much as 725M on a Windows box. On UNIX, I only need to lower it by 5-20M depending on machines. It ...
12034 byte By
kandilxa at 2007-11-27 8:20:20
exception java.io.IOException is never thrown in body of corresponding try statementimport java.awt.*;import java.awt.event.*;import javax.swing.*;import javax.swing.text.*;import java.util.Date;import java.io.*; public class SampleIO2 {int[] u= new int[27];JFrame f;String s1,s2;int ...
1401 byte By
Chadhaa at 2007-11-27 7:44:50
I am using jdk1.5.0_06's version of tools.jar. I have attached the code that I am using in a custom doclet but still I am not able to view generics.The output is java.util.List instead of the complete type. Am I missing something? public static boolean start(RootDoc root) throws ...
Can somebody tell me about an open soft tool for reverting code.Thanks.FS
111 byte By
noobboya at 2007-11-27 7:40:16
Hi, may I know whether is there any way to print the error messages to a log file? Thanks for your help!
703 byte By
cowwoca at 2007-11-27 7:37:51
Hi,I have an instance of com.sun.source.tree.ModifiersTree when parsing a Java source-code file. Invoking toString() on the ModifiersTree clearly shows the "interface" modifier yet when I try using the public getModifiers() method it does not return this modifier. The actual Modifier.java ...
Hi I've been workin on a project, and it seems something is wrong with this code... i honestly cannot figure it out...here it is :Uses the following methods:public static boolean areEquivalent (String word1, String word2)This method reutrns true or false depending on whether the two input ...
i have a jad file d2link and i get this error msg [unable to verify digital signature ] can any one help its on a 8525 phone with wm5 on it with the java program 6.1 i have downloaded opera it seem to work fine plus the golf tracker and gmail and them seem to work fine or is there any way to ...
961 byte By
DaleGroa at 2007-11-27 6:56:44
Hi folksI need to compile a file .java from a program java written by my in java.the first form that uses went calling to a process this way:String cmd = new String[] {"javac","\\temJava\\*.java"};p = Runtime.getRuntime().exec(cmd);this works well but single for windows, and I need to work in ...