WJView Error could not execute main

467 byte By reyalpra at 2007-9-28 10:37:37
How to fix (WJView Error)Error: Could not execute Main : The systemcannot find the file specified.This message started popping up when I log on to my machine after downloading limewire which also grabbed JavaTM Runtime Environment. How do I fix this? I just had a feeling, downloading a file ...

Vectors

2051 byte By Milancoa at 2007-9-28 10:39:31
I am trying to compile the following code, i tried to take the toString out of the method but I get a very long single Error, can anybody help?public class Check{private Stringpayee;doubleamount;private intCheckNumber;private static int numberOfChecks = 0;public Check (String p, double a) ...

double cannot be dereferenced

1435 byte By Milancoa at 2007-9-28 10:39:32
I am getting these errors when I try to compile my code, any idea what double cannot be dereferenced means?Thanks Milancopublic class Check{private Stringpayee;doubleamount;private intCheckNumber;private static int numberOfChecks = 0;public Check (String p, double a) throws ...

doclet classpath problem.

1196 byte By sudhirsrinivasana at 2007-9-28 10:42:27
Envjdk "1.3.1_01OS version: 5.8Processor type:sparcHardware:SUNW,Sun-Fire-880I have a doclet which uses an external jar file. lets say velocity.jar. If i run java -classpath ~/velocity/lib/velocity-1.3.1-rc2.jar:. ExampleDoclet It does not have trouble locating velocity.jar. But if i run ...

Vectors

6036 byte By Milancoa at 2007-9-28 10:42:37
I am trying to develop what iniatially appeared to be a simple application in Java using vectors, I am a Beginner so some of the errors I am getting look more like Greek than Java. What I want to do is use three classes as follow:Class Assign3 contains the main behavior.Check is a class ...

Yet another java.lang.ArrayIndexOutOfBoundsException

2259 byte By noshankusOVa at 2007-9-28 10:45:41
Hello,I see that there are a lot of posts about this exception, but unfortunately, none seem to fit my problem!This should be a very basic program, please, have a look:import javax.swing.*;import javax.swing.event.*;import java.awt.*;import java.awt.event.*;import java.lang.*;public class ...

Crappy Dos Shell

522 byte By Boscarellia at 2007-9-28 10:46:23
I'm using the jake tool to build a large scale program and the problem i'm having actually has nothing to do with java...I get so many errors (probably because i've forgot to add the appropriate .jar file somewhere to my classpath), that my DOS shell window truncates them and then when i try ...

Easy Background?

213 byte By Zizilamorosoa at 2007-9-28 10:49:42
I don't know much about javadoc. Is there an easy way to change the background color for all documentation pages?That's all I want to do, change that color. Nothing more, nothing less...tnx.

Error #750

1151 byte By Pulsidskia at 2007-9-28 10:50:50
Hi, does somebody have any idea whaterror# 750 initialization error: com.borland.compiler.symtab.LoadError actually means and how to correct it?On my computer which runs win2000 pro SP3, I have run for a long timejbuilder3 pro - installed under C:\Jbuilder3. I also have jdk 1.4 - installed ...

HELP !!! J2SE SDK 1.4.1 and Windows XP

713 byte By eimeoa at 2007-9-28 10:55:19
Hi !I hava installed Java 2 Platform on my computer which has Windows XP.I can compile fine, but if I have 2 classes in the same folder, all publlic. I cannot create an object from one class (Rational) in another (TestRationals) the error message I have is: cannot resolve symbolsymbol: class ...

java 1.4.1 will compile clean but it wont run them using windows ME

222 byte By dkunzea at 2007-9-28 10:56:20
haveing trouble setting the path and the class path for windows me the code compiles clean but when i go to run it its wont run it comes up with a error of no class defination foundthanks dkunze

java.lang.outofmemeory

192 byte By rajsubra at 2007-9-28 10:56:39
i am getting the error java.lang.outofmemory while executing a jsp in iplanetPLEASE HELP URGENTLYPLEASE HELP URGENTLYPLEASE HELP URGENTLYregardsRajesh

can't compile java

668 byte By junekoona at 2007-9-28 10:59:38
Dear all,I'm using WinXP Chinese Traditional (no service pack) with j2sdk1.4.1I can run java using command:java filename.classBut i can't compile file using command: javac filename.javaIn command dos, i type java, it show how to use command "java"In command dos, i type javac, it's nothing ...

ant / javac:list compiled files

556 byte By skripia at 2007-9-28 11:02:11
Hi,I would like javac to show me the list of files he is currentlycompiling. (e.g. files that were changed after the last timei compiled them).javac verbose option is fine, but a _little_ bit too verbose.somthing likepaht/to/file.javapath/to/next/file2.javawould do.Since i run javac from ant an ...

Java on Linux - A simple question

1148 byte By chrisatlondona at 2007-9-28 11:03:31
My system is Red Hat Linux 8.0 running the GNOME2 desktop.I have Sun Java2 sdk 4.1 for linux. I am using JEdit to write my programs.I have two locations in this question.firstly/home/Chris/javafiles(contains my own written java files)andsecondly/usr/java/j2sdk1.4.0_01/bin(contains javac and ...

method not found exception

469 byte By chuckperkinfraa at 2007-9-28 11:03:36
Getting exception on javax.net.ssl.SSLsession.getPeerCertificates method not found.The exception is being thrown from sun.net.www.protocol.https.HttpsClient.bProject built with JBuilder version 8.Using Jakarta Tomcat 4.0.4 and J2sdk1.4.0_01JBuilder does not show the getPeerCertificates method ...

Stylesheet to modify index.html -> frameset

472 byte By Zizilamorosoa at 2007-9-28 11:06:23
I've noticed you can use a template stylesheet.This stylesheet will be used to set tag properties to all the pages inside your documentation.But, it's not used in the main index.html. So, for instance, you can't set properties inside the stylesheet for the frameset tag.Is there a parameter I ...

Compilation with packages is different in J2SE 1.4.1 ?

2999 byte By MGoncalva at 2007-9-28 11:10:13
Hi there !I've just installed J2SE 1.4.1_01 in my Win NT 4.0 computer.Some of the files that belong to packages compiled just fine with JDK 1.2.2 but don't compile with J2SE 1.4.1_01.The same is true when I try to compile Java2D in the demo\jfc directory.In project NumberFormatTest I have the ...

searching function

104 byte By sandeepsharma_14179a at 2007-9-28 11:14:51
hello,i m searching a function in java which is equivalent to fseek fuction in c language.

Problems with HelloWorld.java.Help!!!

93 byte By Faraoa at 2007-9-28 11:15:24
When I write "javac HelloWorld.java" I get "cannot read HelloWorld.javaError ".

java.net.SocketException

740 byte By Nuriskyea at 2007-9-28 11:15:33
Hi there!Trying to create a serversocket I always get the following error-message: "java.net.SocketException: Unrecognized Windows Sockets error: 10106: Socket creation failedat java.net.PlainDatagramSocketImpl.datagramSocketCreate(Native Method)at ...

Wrong class name inside class file

369 byte By BirgitArndta at 2007-9-28 11:15:34
Hi@all!I wrote a normal applet, and there are no compiling errors.But if I try to run it in my netscape 4.77 following exception occurs:>> Applet exception: error: java.lang.ClassFormatError: Wrong class name inside class file>>Does anybody know, where the problem is?Please ...

several source paths

603 byte By jakkemana at 2007-9-28 11:16:14
all,i'm making a doclet which will put the result in a db. now i've got a problem with the command that will trigger the doclet. I would like to excecute the doclet only once for totally fysical and logical independent java-files. This is necessary for the connection to the db, i only want ...

Errors from a newbie to linux / j2sdk

429 byte By ajstegsa at 2007-9-28 11:20:03
Ok I'm new to linux and j2sdk. I have Red Hat 8.0 and jsdk 1.4.1 I try to run a simple Hello World program. I run command javac test.java and it goes fine. Then I run:java testand get Exception in thread "main" java.lang.NoSuchMethodError: mainor I runjava test.javaException in thread "main" ...

Can't compile java programs

672 byte By alexciaa at 2007-9-28 11:20:12
I have recently changed my OS to winXP pro (clean install), i have installed j2sdk1.4.1_01, have set the path variable like it says in the installation instructions.When i try to compile a program i get this error message: "the system cannot find the file specified"the error message box title ...

Error -- Tag @see: Malformed:

776 byte By fun_rajesha at 2007-9-28 11:22:05
I have source files which are approximately 16.5 MB. I have to convert to Javadocs through JDK 1.4 from SUN WinNT. When I gave the following command, it reported me to use -J-Xmx32m , during loading the source.javadoc -subpackages com -d D:\Projects\Ina\Documentation\Other_Docs1 -J-Xmx32m did ...

Running HelloWorldApp

412 byte By Rinegatea at 2007-9-28 11:23:43
I am using Windows Me and have set up my path correctlyI have compiled HelloWorldApp using javac and the HelloWorldApp.class file appears in my directory. When I type in java HelloWorldApp I get a message:Exception in thread "main" java.lang.NoClassefFoundError: HelloWorldAppCan anyone give me ...

Java Freezes Machine?

537 byte By momiller71a at 2007-9-28 11:24:34
I hate posting this because it's bound to provide insufficient information about the problem, but can anyone think of a reason why an exiting Java desktop app (on Windows XP) would completely freeze the machine? I mean no input whatsoever, the only thing left to do is to turn off the power. ...

Missing something?

1724 byte By Zane_Jarvisa at 2007-9-28 11:25:05
I get this compile error. Could someone please let me know what Ive missed.[zane@localhost japanese]$ makejavac -O -deprecation BitMapTextCanvas.javajava.lang.ArrayIndexOutOfBoundsExceptionat at.dms.kjc.CClassOrInterfaceType.getArguments(CClassOrInterfaceType.java:180)at ...

null pointer exception

875 byte By mum_03a at 2007-9-28 11:26:24
hi - I am getting sub exception, bcz of <null> entries in db.my code is text = "";while(rSet.next()){for(int j=1;j<=numColumns;++j) {if(j<numColumns)text+=rSet.getString(j)+"\t";elsetext+=rSet.getString(j).trim();}text+="\n"; }However - when i check for ><null> as follows - ...

java.lang.OutOfMemoryError

425 byte By seebara at 2007-9-28 11:30:57
Hi, I'm running a program in JBuilder, and ever since I added graphics I keep getting this error. The problem is probably that I'm adding new images over old ones and I don't know how to remove the old ones. I tried using the Xms min/max memory settings upon startup, but I don't think ...

j2me - URLLoader error00032

273 byte By luky29a at 2007-9-28 11:32:07
Hi,I try write some aplication for mobile. I load data from web and save in mobile. In emulator data are OK, but Nokia 6310i returned me "URLLoader error00032". What it's? How can I repear this problem? Somebody had this message to?ThanksLuky29

deprected objects

1304 byte By boiga at 2007-9-28 11:39:05
I am trying to compile a code and I recive this message:-E:\jode\codi>javac ImDialog.java -deprecationImDialog.java:77: warning: handleEvent(java.awt.Event) in java.awt.Component has been deprecatedpublic final boolean handleEvent(Event event) { ^ImDialog.java:84: warning: ...

error: cannot read: OurFirstProgram.java

389 byte By cmd0a0a at 2007-9-28 11:43:41
Went through all help to no avail. New to Java. Using Windows 2000. Attempting to compile OurFirstProgram.java using MSDOS prompt. Receiving error: cannot read: OurFirstProgram. File saved as .java in C:\j2sdk1.4.1_01\bin\.javac also in same dir. From MSDOS tried many variations: ...

compiling multiple files

695 byte By DJL2a at 2007-9-28 11:44:59
Hi all,I have two files, ShowChart.java (main() inside) and matrix.java They are under d:\jdk1.4\bin\chart I have already put "package chart; " in the beginning code of matrix and "package chart; import chart.*; " in the beginning code of ShowChartIn DOS prompt, i set the classpath ...

Difference between Error and Exception

80 byte By novasa at 2007-9-28 11:45:07
Can anyone tell me the difference between error and exceptionThanz

Javac Error

850 byte By insomnia3082a at 2007-9-28 11:45:26
Hey I'm pretty new to java and to mandrake (my new os) I have been following an example out of a book for a java applet.When I try to compile it I get an error saying.error: Cannot find type "/com/sun/java.swing.JApplet"I am guessing this is because the libraries locations aren'tproperly ...

Public settings with selected private members

457 byte By imwrentmorea at 2007-9-28 11:46:16
Is it possible to run Javadoc with the default settings ie. no -private option but in some way select specific private members in a class to be documented. I have a set of classes that I only wish to generate docs for the public attributes & methods, all private methods AND private ...

Application

268 byte By lstra at 2007-9-28 11:49:13
Hi, I'm new to java and I just wana know if it's possible to create/compile an .exe file using java Like other programming languages C/C++. And how do we change the top left icon on a frame? Anyone help me on this pls? If there's a code you can post it. TNX!

Providing new doc comments w/o overriding a method

424 byte By Nikita04a at 2007-9-28 11:50:00
Is there a way to provide new documentation of a method inherited from a subclass with out overriding it? The superclass' implementation isfine however the comments are not descriptive enough so I'd like to add more. But I dont' want to idiotically override it like so:/** * new comment ...

Package name ends in ".java" causes failure

949 byte By greva at 2007-9-28 11:51:45
I /think/ I've identified a bug in javadoc: javadoc will not allow module names which end in ".java". (maybe this is a feature).It seems that javadoc should check for directory status or have some other check other than just string comparison to determine if a file should be parsed or ...

cannot resolve symbol

1526 byte By saivanisria at 2007-9-28 11:53:05
I have copied the DiveLog.java file from the sample applications tutorial and tried compling the same, but it gives the "cannot resolve symbol" error with all the class declared in that.I have tried to set the classpath in several ways but still could not resolve the problem. Here is my ...

How to compile JAVA without JVM

519 byte By qwertkarla at 2007-9-28 11:53:25
I, is it possible to compile java without using the JVM emulated?I understand that JVM is the best way for portability but unfortunatelyJVM is extremely slow and the .class can easily be uncompile. 1- Some part of my application needs speed and I do not mind to make compatible version for all ...

unreported exception

530 byte By boiga at 2007-9-28 11:55:04
when compiling my program I recive this error:-Player.java:1156: unreported exception java.io.IOException; must be caught or declared to be throwni_76_ = U.read();-in the following function:-private final int dispose() {int i = 0;int i_76_;do {i_76_ = U.read();getColor++;i = i << 7 | ...

MIFDoclet and Framemaker7

565 byte By yannc76a at 2007-9-28 11:58:20
Hi,I successfully installed MIFDoclet/dzbatch and produced all the .MIF and .FM-files. All of them seem to be correct by themselves.Upon opening the generated .book-file and trying to print it (either with dzbatcher or directly in FM), Framemaker7 crashes with weird internal error codes, ...

Windows Event Log

104 byte By brianmflynna at 2007-9-28 12:02:08
HiDoes anyone know how to log java errors and events to the Windows Event Log?Brian

JAR version

226 byte By boiga at 2007-9-28 12:04:48
Is it possible to find with which java version a JAR file was done? I have the java and the sources, I have made some modifications but I cannot recompile it because it was done with a previous java versionthanks

jlist exception in thread

2531 byte By netzrota at 2007-9-28 12:07:34
The application below throws exceptions occasionally and I don't know why. It's an ArrayIndexOutOfBoundsException from the JList which I can't catch. Without the thread there is no exception. Is this a problem of Java ?import javax.swing.UIManager;import javax.swing.*;import ...

run time error

332 byte By diqqa at 2007-9-28 12:11:29
I am seeing this error (A:\>java MyArraySetException in thread "main" java.lang.NoSuchMethodError: main)every time I run my program, It is compiling without any error but when it time view the output I am getting this error massage. I have j2sdk1.4_01 and I runnig it windows XP and windows ...

must be caught or declared to be thrown?

1029 byte By rel4xa at 2007-9-28 12:14:05
I keep getting "C:\Documents and Settings\Michael Cojanu.COJANUCOMP\Desktop\JAVA2\urltest4.java:180: unreported exception java.net.MalformedURLException; must be caught or declared to be thrownstartURL(" http://www.google.com");"when I try to compile my program, despite the fact that the ...