Can anyone help me with this? I just bought a new computer with Windows ME installed. However, I cannot get jdk 1.2.1 to work. The installation process runs smoothly, but whenever I try to run the compiler or open the class path, the following error messages ...
488 byte By
sincos at 2007-9-26 1:20:47
Hi everyone,I got into a problem with the compilation of the example given at http://developer.java.sun.com/developer/technicalArticles/wireless/midpgetstart/index.html 'FirstMIDlet.java'I have 'j2mewtk' but when trying to compile the example I get errors for the compiler can not see the ...
Hello All,I have generated a parser with javacc. It takes the input now from command line. This seems impractical to give huge java files to it through command line. I want to know how can we give it a file containing java code like we give through fstream etc.waiting for your reply.Best ...
1086 byte By
LeaH at 2007-9-26 1:24:00
Hi!We, two desperate students, tried to compile our sources which lies in the same directory. But there where two classes which we couldn't access (cannot resolve symbol error). Then we tried to set all classes in one package, but there where some miraculous ...
I just wanted to know if i have to, or if i can compile all java-files from a package, at the same time, or if i can compile first one file, and then the next. I ask, because till now i only tried java-applets with 1 .java-file...but now i am doing a bigger project, but i just don't get it to ...
Hello Friends,I have downloaded JTAPI which was a zip folder...in this I found all the java files ...there was no jar file ...& when I imported it in my java file...the compiler said 'cannot resolve symbol' ,class not found etc...please help me why it is happening....Ashish ...
HiIs there any special consideration for a Java Programto work under UNIX.My problem is as follows,I have a Java program say "JavaProg.java". I create its class file under Windows-NT i.e."JavaProg.class" after compiling the java code usingthe command "javac JavaProg.java".Everythings perfect ...
HiI have some problem executing class file under UNIX. I have a directory under UNIX,/home/user1wherein I have placed a class file say "JavaProg.class"I execute "java JavaProg" from the above directoryand it generates the desired output. Now, I have another directory,/home/user2wherein I again ...
206 byte By
Viltris at 2007-9-26 2:02:49
Does anyone know where I can get a Native Code Compiler (to compile into EXEs) that is free, supports Java 2, and creates EXEs that do not require installation of the JDK or JRE?Thanks.
552 byte By
Maccabee at 2007-9-26 2:09:16
To anyone, 3 days ago, JAVAC.EXE stopped working. Now I get the following error message:==========================================C:\\jdk1.3.1\bin>javacCan't find bundle for base name com.sun.tools.javac.v8.resources.javac, locale en_UScom.sun.tools.javac.v8.resources.javac_en_USFatal ...
329 byte By
balajee2 at 2007-9-26 2:14:17
HiI have a java program which imports a package from a jar file . This jar file resides in the same directory as that of java file and i had set the classpath to jar file also .when i try to compile , it is giving me 'package not found' .Can anybody help me out of this .Balajee ...
635 byte By
dfanuk at 2007-9-26 2:19:01
HiI am writing a Java servlet in EditPlus and am wondering how to include the servlet.jar file so that EditPlus knows where the javax.servlet.*, etc classes are. I suppose this is an EditPlus specific question so sorry about that but I didn't know who else to ask other than EditPlus themselves ...
79 byte By
billpark at 2007-9-26 2:44:19
Is it faster than javac?Or it can make better code?
I installed JDK 1.4 into my system and set the paths and everything was fine, but there's just one problem. When I am in MS-DOS Prompt and wanted a listings of my present working directory, it only shows me xxx.jav without the 'a'. The file suppose to be xxx.java but it only shows xxx.jav ...
1557 byte By
3libras at 2007-9-26 3:09:43
HiI was trying to build an app using JBuilder personal. It would build and run fine. Then i realised that i could not use the api from jdk1.4 as JBuilder would only work with jdk1.3.So, i moved the project from JBuilder to Forte thinking that Forte would allow me to use the jdk1.4 api. After ...
340 byte By
TimI at 2007-9-26 3:16:58
How can I generate a JDK 1.0 style header file with v1.2.2 javah?The -old flag does'nt work even thought it is displayed in the javah help args. Is there another version of javah out there with support for -old JDK 1.0 style header files?Rumor has it that v1.2 javah supports this feature but ...
490 byte By
3libras at 2007-9-26 3:18:48
Hi , sorry if these question has been asked before. I've been looking but havent found a link that answers my questions.Can i make my java app link and load 3rd party Win32 dlls & libs? I do not have access to their source code, so i cannot 'java'fy them in any way. I'd like to have the ...
Can anyone recommend a good, preferrably, free Java JIT for use on Windows?Thanks in advance.
Hi to the forumi got a problem with the installation cd that was preparedAn hyper link to an installation was given like<a href="\almsetup\setup.bat"><strong>CLICKHERE</strong></a>the bat file contains@ECHO OFFjava.exe StartFramePAUSEand both the html , the class and the ...
I have downloaded j2re and installed it according to the instructions.I also have jdk1.3 on my PC. Ihave set the classpath for jdk1.3 . When I try to compile any java file, the error given is as folows:"Can't find registry keyjavasoft\JavaRuntimeEnvironment\current versionError:Can't find ...
Hello experts,I have an error occur when compiling my project....ProjectRelated.java:15: package common_db does not existimport common_db.*;^1 errorwhat should I do? regards,kurt
482 byte By
rbiresch at 2007-9-26 3:54:01
I've read a view posts regarding this problem but none with SDK1.3.1 or with this type of twist.I'm having a problem executing the ExampleProgram using:javac ExampleProgram.javajava ExampleProgram...and I get...Exception in thread "main" java.lang.NoClassDefFoundError: ExampleProgramHowever, ...
Hello,everyoneHow to stop a Application using the command "javaw" on Windows Platform?Thank you in advance.zhongboqing
When compiling a java program, i get the following message: "class XXX is pubilc, should be declared in a file named XXX.java". The file is stored in a jar file and the classpath settings are correct. Any ideas?
701 byte By
nzguru at 2007-9-26 4:26:15
I've just upgraded to 1.3.1 SDK on Windows 2000.I now get very strange messages during the compile.e.g. for the source :/** * The HelloWorldApp class implements an application that * displays "Hello World!" to the standard output. */public class HelloWorldApp {public static void main(String[] ...
480 byte By
JirMac at 2007-9-26 4:29:30
I have installed both SDK and runtime environment few weeks ago and tried to compile/run some example programs.Today, when I tried to create a program of my own, an error message 'Exception in thread "main" java.lang.NoClassDefFoundError: xxxx/class' pops up.I thought it's an error in my new ...
496 byte By
Harki at 2007-9-26 4:33:26
Hello Guru's,I am using Forte for Java release 2.0 build 1160, and Java SDK 1.3.1.When I try to compile a project in Forte I get the following error :"fastjavac: java source files must have a .java suffix C:\Program"I have looked at the source files and they do hav .java suffix!If this is not ...
399 byte By
KP1 at 2007-9-26 4:36:57
I have copied our source directory structure for Packages to my hard drive and now need to compile all the source code. There are hundreds of folders! Is there a command I can give that will search through the folders, compile what it finds and leave the class in the same folder as the source ...
1645 byte By
debin at 2007-9-26 5:06:11
Hi,I have a java source code here (see below) which can compile on any other machine. However, it gives me an error when compiled on my notebook computer. The error is as follows:DetectPrime.java:19: cannot resolve symbolsymbol:method parseInt (java.lang.String)location:class ...
I need to write, compile and test Java applets and applications for a Java class I'm taking. I use a Mac, and when I went to download the 1.3 SDK there were only dl's for Windows and Linux.However, most of the screenshots in my textbook are taken from a Mac, so I know it can be done w/o the ...
Well, Ive created a batch file for compiling the .java files from the tutorial. But in one way or another the compiler can t find the j2ee.jar package. Though all paths were set correctly. Here s my batch file. Who can help me out!!!echo The JAVA environment is about to be set...set ...
418 byte By
DOON at 2007-9-26 5:49:40
I have been trying to take my 1st baby step for 8 monthsMy little test programs don't compile.e.g. "C:\J21work>javac Ellsworth.java" produces"Bad Command or File Name"currently AUTOEXEC,BAT has these addenda:"PATH C:\jdk1.3\bin; %PATH%@SET CLASSPATH=;C:\jjdk1.3\lib\tools.jar; ...
Hi everyone,I hava a very simple program that compiles but will not execute. The message I receive is as followsjava.lang.SecurityException Prohibited package name:java.lancsI am using jdk1.3.Jdk 1.2 never gave me this problem.Any help would be appreciated.Thanks Al ...
I got some java files which contains "class$". When I used javac to compile it, it said "class$ is reserved for internal use". Anyone tell me how to compile these files?Thanks a lot!Ben.
214 byte By
skode at 2007-9-26 6:15:51
import corejava.*; ^is the error i loaded java1.2 software in my system, in Java Direcrory. what to do. some one help me with this problem.Thank you in Advance.Skode
587 byte By
regi30 at 2007-9-26 6:27:42
Hi,Could someone please tell me in the plainest english known to man, why when I run the Hello World program from the dos prompt, I get a error :can't read :Hello.java1 errorWhat I've done is typed the exact code into Microsoft Word, saved it under the bin file in my general JDK directory as ...
799 byte By
pr1981 at 2007-9-26 6:28:36
Can anyone help me?I have a Windows NT 4.0 machine running JDK 1.2.2 and I have my class path & path set as follows:-set path=c:\jdk1.2.2\bin;%PATH%set classpath=.;C:\pat\ClassesOnce setting these paths (via a Batch file, not Autoexec.bat though), I can run java files that I have ...
136 byte By
chamilap at 2007-9-26 6:31:00
Hi all,Please somebody tell me how to compile a class without the option of decompiling it with a decompiler
132 byte By
noyce1 at 2007-9-26 6:44:25
The program compiles OK. When I run it, I get the error "Exception in thread "main" java.lang.NoSuchMethodError: main"
444 byte By
captinli at 2007-9-26 6:50:10
Anybody can provide the best Java platform specification?I am thinking an IBM compatible PC which can compile big java file in the very fast speed. This compile platform must be able to save much time of programming. But what kind of CPU, RAM, OS can make this ture? If you are experienced this, ...
565 byte By
rda2 at 2007-9-26 6:52:35
I have 2 questions.:)1.Is it possible to compile jsp files?2.if i am compiling a java class in which should created a database connection i always get the following error:"test/Lieferschein.java [22:1] cannot resolve symbolsymbol : class OracleDriver location: package driver ...
349 byte By
billchan at 2007-9-26 6:54:10
I am using J2ME_CLDC in Linux (RH) machineAfter i have compiled the .java file into .class fileI also want to create the .prc file for palm from .class file.And i meet the error :Error preverifying class Prog2_1Class loading error: Bad major version numberCan anyone help me ?Thank you. ...
1813 byte By
Angell3 at 2007-9-26 7:05:34
this is my error C:\My Documents\Math.java:6: '{' expected.public class Math.java {^1 errorTool completed with exit code 1 this is my code:// Assignment1 Angel Amitrano// J1 ASSN 1import javax.swing.JOptionPane; //import class JOptionPanepublic class Math.java {public static void main ( ...
349 byte By
noyce1 at 2007-9-26 7:28:11
Is there an interactive source debugger in Java like there is in Visual Basic? The VB one lets you step through your code a line at a time or set breaks, and lets you see the value of your variables. I am finding learning Java really difficult, in one pgm a piece of code is being skipped and an ...
After I installed JDK 1.3, then set the path for JDK. I tried to run the sample java program and go this message "Exception in thread "main" java.lang.NoClassDefFoundError: Welcome"...I have reinstalled JDK a couple times and still couldn't run the sample programs. Any help or ...
Hi everyone I am having problems compiling my java applications, I had it working up until about a week ago when my computer crashed and I needed to reinstall everything.I am using jdk1.3.1 and j2sdk docs, I am trying to compile a program called quadsolver which is located on the a: drive.I am ...
Hi everyone can anyone tell me what this error means and how I can solve it.Exception in thread "main" java.lang.NoClassDefFoundError: msgsendPress any key to continue . . .I have compiled a program but when I ran the program the error occurs.If it helps my PATH variable is set to : ...
1095 byte By
koem at 2007-9-26 8:23:53
I've got some lines of code like this:public Connection getConnection() throws SQLException{if ((iv_connection == null) || (iv_connection.isClosed())) // !!!!!!!!{iv_connection = connect(iv_DBUser, iv_DBPasswort, iv_DBName);iv_connection.setAutoCommit(false);} return iv_connection;} The ...
How do you redirect the javac output to a file on a Windows computer? I have tried and always get a blank empty file. I dont want to use Forte or another IDE since it likes to mangle my code if I edited the code it originally created.
Hello,Yesterday I posted a question, how can I get my program to run.It was suggested that I set up my classpath to the exact directory that I have my .class files which I did. c:\javafiles\This worked. Before I figured it out I redid my path. Well after running the Saluton program I went back ...