i realize this isn't a pure java topic, but i'm running short on optionsI'm trying to remote profile a websphere application server instance from my local websphere studio application developer IDE. I'm trying to find some docs on remote profiling, specifically setup/config instructions. ...
224 byte By
AngrodMa at 2007-10-1 13:46:16
Whenever i try to run my programs, on my home computer, that i know work i get the following error:java.lang.NoClassDefFoundError: com/sun/tools/javac/MainException in thread "main" please help me
I am trying to make a searchable repository of the Java API using JSP and MySQL. I wish to enter the following things into the database1. Classes(i) Name(ii) Short Description(iii) Package(iv) Modifiers(v) Link to JavaDoc page2. Methods(i) Name(ii) Return Type(iii) Parameters(iv) Class(v) ...
289 byte By
AngrodMa at 2007-10-1 13:47:32
I am using the DRAWINGTOOL Class and i am trying to change the color that it draws in can anyone help me. Here is what i have typed DrawingTool pen = new DrawingTool(new SketchPad(500, 500));pen.setColor(red);
448 byte By
sundbma at 2007-10-1 13:51:08
Hi,Am currently using JDK 1.4.1 to generate the javadocs. The doclet while generating the javadocs throws quite a lot of warnings ,primarily with those tags beginning with @ejbgen..i.e, warning - @ejbgen:session is an unknown tag.warning - @ejbgen:remote-method is an unknown tag.How can I avoid ...
1169 byte By
tolvana at 2007-10-1 13:51:15
When I compile my java file I get the following msg:Note: test.java uses unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.I tried to compile it with the -Xlint and I got this msg:test.java:1829: warning: [unchecked] unchecked conversionfound : <anonymous ...
I cannot figure out what the problem is can you help me. this is my first applet so help would be appreciateimport javax.swing.*;import java.awt.*;import java.awt.event.*;public class Draw extends JApplet implements ActionListener{JLabel insert = new JLabel("please insert a picture");JTextField ...
468 byte By
hidaia at 2007-10-1 13:55:33
I think Wurm Online(a mmorpg all done in java) ruined my java, because since i installed it everytime i open playonline viewer(a program for final fantasy 11) the screens goes black and few seconds later the playonline pops up and the program works, but everything else is still in black. this ...
hi,i have a txt file, with a bunch of lines in it that go like this:CSF.434.001.LECCSF.434.101.TUTMATH.348.001.LECMATH.448.101.TUT..and so on...For example if there are 4 lines in this text, i want to create a 4x4 matrix and store each data seperately.i want to extract CSF into matrix[1][1], ...
Hi,I am writing a java program which will be triggered by a shell script on solaris machine. how can i handle signals SIGUSR, SIGUSR2 etc... in the java program?Thanks in advanceRegardsHunger
I have run into a strange problem. First of all, in the following code, I get a warning when compiling with suns compiler (JDK), but eclipse gives me an error. Are they not supposed to agree?Second, I do not realy understand that there is an error/warning at all.This is my code (I have ...
I have downloaded successfully the source of ExcludeDoclet class but have problems executing it.There are no error details that are visible. 1 Error is displayed on console when I execute the class.
I've been developing a multipart data processing application that mostly involves different parsing modules that do things with each others' output. Having recently completed a functional version of the application on my workstation, I went over to my (data-entry guy) co-worker's PC to ...
I installed java (jdk-1_5_0-windows-i586.exe) and blue J finds it, tomcat finds it so it's there and both programs use it so they function.. HOWever.. if I write java in cmd I get following message:C:\>java -version'java' is not recognized as an internal or external command,operable ...
Hi,I am an untechnically inclined person. My java used to function fine, I have no idea what happened! Basically I try to play at Runescape.com and I keep getting the red "X" problem...I know its a problem with Java and not Runescape b/c it won't work on any Java games that I have tried at ...
Hello,I try to connect to a application in JAVA locates in my LAN.And Java Web Start don't want to connect it.He says "Exception:java.io.IOException:Server returned HTTP response code:503 for URL: http://192.168.2.18I can ping it or connect on SSH in in but i can't launch the java ...
Hi,I'm encountering a very odd problem on one of our servers. I have the following code:public void add(Object newElement){boolean test = newElement instanceof IRuleElement;......}which throws a ClassCastException on the 'instanceof' line. Any idea why this would occur on only one of our ...
1015 byte By
myth0s2a at 2007-10-1 14:20:41
Greetings,I was used to JDev at school, which run fine.But today, I wanted to do some Java3d experiments at home... wayyyyyy harder than I thought.Ok, after installing quite a few things from SUN (actually: j2sdk1.4.2_08 and jdk1.4, both at C:\), I tried to run: ...
451 byte By
yassera at 2007-10-1 14:21:02
Hello all,I tried to use the method setSavepoint() in interface java.sql.Connection and i had this exception in run time (java.lang.AbstractMethodError). From the JDK documentaion i understood that this can happen in run time only if a definition of some class has incompatibly changed since the ...
I run Windows XP home with SP2. I have installed J2SE Runtime Environment 5.0 Update 3 and Java 2 Runtime Environment, SE 1.4.2_08. My Java had been running fine but now all of a sudden I am receiving this error message: "Java(TM) Plug-in Fatal Error: The Java Runtime Environment cannot be ...
233 byte By
dbm1987a at 2007-10-1 14:22:37
on my desktop called "hs_err_pid" with a bunch of numbers after it. What do I do? Im trying to get to some websites, but they just CLOSE right when the window begins to open.Please email me - DarrylMinguito at Yahoo.com
606 byte By
Respecta at 2007-10-1 14:24:04
My Ms Dos seems to have a problem either my environment variables are not set properly or there is some other problem, but i have checked my environment and it seems fine. But im still a junior in this java world so please help. javac works fine it compiles any program what so ever fine, but ...
606 byte By
Respecta at 2007-10-1 14:24:10
My Ms Dos seems to have a problem either my environment variables are not set properly or there is some other problem, but i have checked my environment and it seems fine. But im still a junior in this java world so please help. javac works fine it compiles any program what so ever fine, but ...
314 byte By
coaltara at 2007-10-1 14:26:29
I searched for this information but to no avail. Does anyone know which color is used to indicate instance methods in the "standard" javadoc format? For that matter what is the standard color for any javadoc comment? I was unable to locate this information on this site or searching the ...
405 byte By
shona00a at 2007-10-1 14:28:24
i run Windows XP with SP2. I have installed J2SE Runtime Environment 5.0 Update 3 When I try to login on a website the login screen does not open. When I hold the mouse button down on the login "button" I receive this error message: submitForm0; This happens in a number of websitesI have ...
Is javadoc1.5 available as a separate download from the j2se? If so can you please give me some direction?Will the javadoc1.4 work normally with java1.5 code? Will any errors be encountered with the generics?Thanks
398 byte By
pelhama at 2007-10-1 14:33:00
My applications run well before,And after I remove org foleder: webapps\ROOT\WEB-INF\classes\org, and later put it back again( I did that just for testing something)Then I always get the error message:java.lang.NoClassDefFoundError: org/aspectj/lang/SignatureDon't understand why, all the ...
Hi,I keep getting the "Loading Java Applet Failed..." message. The console reads as follows:Java Plug-in 1.5.0_03Using JRE version 1.5.0_03 Java HotSpot(TM) Client VMUser home directory = C:\Documents and Settings\BBailey -c:clear console windowf:finalize objects on finalization queueg:garbage ...
142 byte By
FabioRMa at 2007-10-1 14:33:50
Hi, I cannot cut and paste from word to java application...why? there is anything problem of incompability?Excuse for my english
764 byte By
Luciena at 2007-10-1 14:36:31
Does anyone know how to catch a NoSuchMethodException?I'm trying to test several classes writen by other people to see if they comply to a given specification. Unfortunatley, they often don't comply. (Effectivley black box testing, and I have 270+ classes to test)I would like to have my ...
389 byte By
alkinoa at 2007-10-1 14:37:06
Hi! I'm trying to make a program about an address book. I use a database made in MS Access. Everything was working fine since I added a method to display the name in a JTable. When I run my code, at first it was saying Exception in 'main' java.lang.OutofMemoryError. I wrote java -Xmx128M ...
When scanning system with Norton AV, scan reaches folder JRE15~1.0\lib\management and then either freezes up computer, or I get a blue screen with a stop error of Ox0000008E, with memory dump.Roger
I am running a java applet on many of my website pages www.surfchex.comIt is not displaying upon the page loading that has the applet on it....iT WORKED(DISPLAYED )FINE ON LOAD WITH VERSION 1.3 BUT NOW 1.4 IS WHERE THE PROBLEMS HAS ARRISEN.aNY HELP FIX WOULD BE GREATLY APPRECIATED.tHANKS ...
I'm getting a NoClassDefFound error when I try and run a program contained in a jar, and I was hoping someone here could give me some help.The program is run from a script which contains the following lines:#!/bin/cshset CLASSPATH /home/matt/test/myclass.jar:/home/matt/test/another.jarsetenv ...
I'm making a forum in .jsp using database... and if you try to login with wrong username and password it writes an error type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception javax.servlet.ServletException: ...
Hi, I am trying to run JAXR Examples but its showing the following when i try to publish organization in IBM UDDI registryCreated connection to registryGot registry service, query manager, and life cycle managergot registry authorizationsjavax.xml.registry.JAXRException: ...
1144 byte By
chris33a at 2007-10-1 14:52:18
god what is wrong with my code, I have tried like 50 times to get it right..and no luck.always one or two errors..any help please.import java.io.*;import java.lang.Math;public class guessingGame {public static void main(String[]args) throwsIOException {BufferedReader stdin = new ...
Hi there!I have troubles generating javadocs for one of my projects, but I am not sure wether I made a mistake or javadoc is broken so I post it here...Every time I want to generate javadoc for a quite large project javadoc dies throwing the following expecption:Generating ...
I'm not quite sure what the problem is here, but to set the tone, I am very new to Java applet and GUI programming, so this is very confusing to me. What happens, is in my applet, a game, I have a user press their spacebar to start the game. I then added a button which I want to hide until the ...
I'm new to java and am trying to compile the basic HelloWorld program. Every time I try to compile it I get this message.error: cannot read: HelloWorld.java1 errorplz help. thanks.
To whomever may help with my problem:I have been trying to logon to sites and visit many webpages and I get "Click here to get the plugin" message with a light blue puzzle piece above the message. Then I follow that link to the download center, (which I don't need to do because I already have ...
I've got a FOR loop that isn't populating from a string array.I'm new to Java, but savvy to PHP, so the NullPointerException error that I'm getting isn't making a whole lot of sense to me, especially given that the first FOR loop works.Any help that could be provided would be greatly ...
I apologise in advance if Ive posted on the wrong forum.Can anyone help me out?I use IE on my XPhome SP2 P4 and when visiting the official F1 website to view the live timings, I was prompted to dload the Java plugin for IE. I expected this to happen as I had just finished reformatting my HD - I ...
801 byte By
p018916a at 2007-10-1 15:14:47
java.net.ConnectException: Connection refusedat java.net.PlainSocketImpl.socketConnect(Native Method)at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)at ...
im having difficulties converting my hsa console program to an applet ive attached my hsa code below:// The "MathQuiz" class.// Programmer Name: Bryan Cowan// Date: March 7/05// Supervisor: Mr. Lepage// Algoryth: This is a math quiz with 3 different levels of difficulty easy, meduim and hard, ...
Hello i could really do with some help on this. The code creates a new file which stores the names and the address's of the mp3 file. The program runs fine its just when i run it from the command line i get this exception.java.lang.ArrayIndexOutOfBoundsExcaeption: 0 > 0at ...
Ok. here goes. I have a class Questions.class in some directory in my documents. In this directory I also have SimpleList.java which wants to make an instance of Questions. They are in the same directory, but there is no path to this directory, and the sod won't compile because it doesn't ...
Hello,I'm developing an application routinely needs a JVM heap of 300MB or more so I need to increase the size of my Java heap.The problem is that the memory allocation modifications I have made to both Java and Eclipse do not seem to be having any effect. The JVM and Eclipse settings are both ...
does anybody know how to export a lotus 1-2-3 file using java?I can export a csv file usingresponse.setHeader("Content-Type", "text/x-csv");response.addHeader("Content-Disposition", "attachment;filename=report.csv");I also can export a xls file using excel java api.however,I need export the jsp ...
Whenever i run a program, i get this error-- IOException starting Java runtime process --java.io.IOException: CreateProcess: D:\Borland\JBuilder2005\jdk1.4\bin\javaw -classpath "E:\Documents and ...