EXE File Compilation ...

916 byte By shWu80a at 2007-9-27 13:04:49
Hi there,I've done a networked program using JDK 1.3.1 and it worksproperly. However, that was when it's running under DOSmode manually. (C:\jdk1.3.1\bin\java "something") And I'mtrying to compile my program to a stand alone executable(.exe) file that can be run in any machine (same ...

Error: could not open `C:\Program Files\Java\j2re1.4.0_01\lib\i386\jvm.cfg'

536 byte By matrix_sektor at 2007-9-27 13:28:49
I am geting this error when I enter the "java" command: "Error: could not open `C:\Program Files\Java\j2re1.4.0_01\lib\i386\jvm.cfg'"I have configured the PATH variable (Windows 2000) and "javac" works. I cannot, however, get my programs to run because of the error every time I type "java". ...

How to run jar file with classpath?

494 byte By stsun at 2007-9-27 13:42:25
Hi, all,I have some package in my project, with which I have a java help jar file as classpath, when I run my project, I need the jh.jar file in directory /jar/jh.jar. Now, I bundled all my class packages into a jar file, my.jar, together with the /jar directory. When i run my jar file with ...

Java 1.4 compilation error

809 byte By gkharishbabu at 2007-9-27 13:42:43
Hi I am using JDK 1.4 to compile my source code which is compatable with JDK 1.3.1. The source code was compiling fine . But when i use the JDK 1.4 i am getting the following comilation error in the following code snippet.*****************************************//// Automatically-generated ...

JAVA in WIN2000

202 byte By j2ee8s8 at 2007-9-27 13:47:33
when i have c:\samples\provid.class in WIN2000c;\>java samples.provid Exception in thread "main" java.lang.NoClassDefFoundError: samples/providHow can I resole it?

javac.exe (version 1.4.0) crashing in WinXP

472 byte By BloodTalon at 2007-9-27 13:55:53
I had it working previously, but now whenever I run javac, it will just sit there, and lock up my command window. I've tried waiting, and it doesn't do a thing. I've tried uninstalling the SDK, then reinstalling, but that doesn't seem to work. I've tried running just "javac", without ...

Compilation Error with jdk1.4.0

732 byte By java_NY at 2007-9-27 14:04:20
Hi I am using JDK 1.4 to compile my source code which is compatable with JDK 1.3.1. The source code was compiling fine . But when i use the JDK 1.4 i am getting the following comilation error.After initializing ORB when I am using "connect" method. When I try to compile this It ...

How to install JDK on Free BSD ?

68 byte By lkevin1 at 2007-9-27 14:09:31
Non't found JDK for Free BSD ..Please help ...

how can i work jsp with ms dos

427 byte By plnr at 2007-9-27 14:12:27
i want to send a form to particular person ,where that particular person have selected in the form,if the particular person has logged-in in the Window NT4.0, then he should receive the message like, u hava a msg from so and so person etc.that message may have to send by ms dos command : net ...

PATH VARIABLE

566 byte By VonnX at 2007-9-27 14:54:50
Hi I am having problems with setting up my path variable. It seems when I type in "set" the variable for PATH seems to be referencing the correct location (C:\jdk1.1.8\bin),but I am still having problems when I try to compile a simple program. I want to know how I specify the PATH variable so ...

An overriding anomaly

3483 byte By marlenemiller at 2007-9-27 15:00:57
Subject: An overriding anomaly In the example below,1. m2 and m3 declared in C do not override m2 and m3 declared in A? Why not?2. The private modifier of method m3 declared in C does not cause a compiler error. Why not?3. The return type int of method m2 declared C does not cause a compiler ...

How To make Java faster?

553 byte By jyahmed at 2007-9-27 15:16:21
I built a program in Java with a database in MS ACCESS.So, I need to use SQL to get the results of my queris from the tables ina MS ACCESS file.But I recognize that the program is very slow especially when there is a loop that exexute a method with a query statment and each time the loop runs, ...

J2SE 1.4 cannot import from JAR files

922 byte By Quantamm at 2007-9-27 15:19:20
Windows 2000J2SE 1.4.0Textpad (IDE)Everytime I attempt to use a package from a JAR file, I get a "package _name_ does not exist" during compilation. If I un-jar the package, then the compilation runs normally.I am putting the JAR files in c:\program files\j2sdk1.4.0\lib and my classpath is set ...

Changing Virtual Machines

148 byte By tochi760918 at 2007-9-27 15:22:54
If one has 2 or more Java Runtime environments on his machine, how can he specify the particular JRE that a specific program will use?

How to get compiler message and standard output message programmitically?

1348 byte By goodmorningsky at 2007-9-27 15:26:14
Hi, Everyone.Thank you for paying attention.This is for my graduate thesis, Please help me I'll appreciate^^;;I want to kind of make java editor written in java, which can compile, show compile error message if necessary and run java program.Question 1.If you see the Java Forte, it compile a ...

javac problems

162 byte By finalf34 at 2007-9-27 15:37:59
i get 33 errors, all the errors say cannot resolve symbol. Here is what i put in. "javac frame1.java" and i am in the current path of the file too.

Newbie Stuck on Compiling - Please Assist

744 byte By noskov at 2007-9-27 15:39:10
Hi there. I appreciate any technological assistance to help me get back on track.I'm a newbie individually learning java on my own using the 'New to Java' tutorials on this site. All of the examples were working until I changed something, but I cannot figure out what the 'something' is. ...

List of classes needed for compile

329 byte By admiralspb at 2007-9-27 15:44:42
Hi,How do I get a list of all classes, that are needed for the compilation of some "HelloWorld.java" source?I want to get quintessential list of classes used for the compilation of this source, even if it includes java.lang.System and java.lang.String.How can I get this?Thnx in advance. ...

Java 2 Standard Edition and no Javac

361 byte By BillyBobZ at 2007-9-27 16:06:05
I'm new to java, so I just grabbed the latest development kit, 1.4, and installed it. It was going through the tutorial when I discovered I was missing a pretty imporant peice, the compiler. I tried reinstalling, as well as installing 1.4.1, and I still was missing the compiler. Has anyone ...

Cannot resolve symbol

631 byte By Phil_B1 at 2007-9-27 16:08:26
Hi,I am using Forte for java (community edition v3) and I'm trying to get a servlet to run which accesses another set of code for running Prolog.The servlet uses a package called amzi.ls - which is ok on its own, but when the two classes contained in are called I get the "cannot resolve ...

Java 1.4 compilation error

545 byte By seanmissin at 2007-9-27 16:16:29
I have installed java 1.4 on a pc running win 98, I have compiled a simple java hello applet. when viewed in IE 5 and 6 the applet fails to display yet displays in Netscape and Opera. A collegues machine was set up with Java 1.4. This compiled a similar applet which resulted in the same error. ...

Unable to create DiveLog.class

283 byte By jtchang1 at 2007-9-27 16:23:19
I have followed the beginning tutorial for DiveLog application. everything compiled fine and all my classes were created except for the DiveLog.class. I have DiveLog.java but not class. All six other java files compiled sucessfully. Does anyone have any idea why. Thanks ahead

compile problem on Linux, please help

1113 byte By damovand at 2007-9-27 16:30:29
I have an application that compiles fine on NT but not on Linux RH 7.2.The application is made up of several packages residing in different directories as shown:/home/myHome/work/appname/lib/src/com/?br>/home/myHome/work/appname/lib/src/servers/?br>Packages under src/com can cross reference ...

How to compile a directory

497 byte By guyw77 at 2007-9-27 16:49:38
Hello,I use windows (98, 2000, XP).I have directory c:\project and inside the directories:c:\project\src -the source filesc:\project\classes - for the class filesc:\project\icons - gifs I use in my programI wrote applet, and I want to compile it with JDK. I have many files in c:\project\src ...

Problem compiling a program

9289 byte By saisoft3 at 2007-9-27 16:57:09
I have a problem compiling this program:here is the code, below the code u will see the errors, thanks for the helpimport javax.swing.*;import java.awt.event.*;import java.awt.*;public class BasicCalc {//Start of Class// Variables for objectsprivate JFrame frame;private JButton zero;private ...

Compile to *.exe

148 byte By Christophs at 2007-9-27 17:20:46
How can I compile a Java Application to a Platform dependent .EXE File?I know this might seem to make no sense ... - BUT I WANT TO!!!!

error, javac "can't read"

689 byte By bert201 at 2007-9-27 17:26:57
I'm a new to this and created a simple applet just to try this thing out.I created it in notepad, looks like this:import java.awt.Graphics;public class FirstApplet extends java.applet.Applet{public void paint(Graphics g){g.drawLine(0, 0, 200, 200);}}I saved it as "FirstApplet.java" and ...

UTF-8 source files

68 byte By kopanda at 2007-9-27 17:39:05
Is it possible to compile java files encoded in utf-8 format?

Compiling with Windows XP

404 byte By lenchkin at 2007-9-27 17:50:36
I've just installed J2SE 1.4.0 and am having problems with the classpath. I've tried setting it as explained in the Help section on the java.sun site, however I still get the error message:'javac' is not recognised as an internal or external command, operational program or batch fileHow ...

Assertions, Compiling With JDeveloper9i

666 byte By uit at 2007-9-27 17:55:34
Does JDeveloper9i (902)/ojc have a problem compiling code with assertions? Compiling: public class Main4 { public static void main(String[] argv) throws Exception { assert false:"ERROR: Assertion failed"; } } Is fine. Compiling: public class Main4 { public static void main(String[] argv) throws ...

Compiling Java code with Japanese characters

157 byte By dushyanthi at 2007-9-27 18:03:38
I have a Java code with some Japanese characters. My compiler doesn't recognise these characters and gives me error messages. Please help me.

Are there java compilers who create bytecode "optimized for a specific OS?

900 byte By d022195 at 2007-9-27 18:32:20
Hello compiler experts,In my project some people want to recompile ourserver (EJB!) classes on each server platform. In fact we do not haveany platfrom specific source code. However those people claim that some java compilers do platform specific optimizations (performance ?) during ...

runtime error after successfull compilation

2049 byte By Dizzutch at 2007-9-27 18:43:18
Hi,I'm trying to compile programs (small stuff for a class) and it all compiles correctly:[localhost:~/csci101/hw2] jslootbe% javac -verbose -classpath /Library/Java twowords.java[parsing started twowords.java][parsing completed 555ms][loading ...

Problem compiling the tutorial?!?

469 byte By Dazmo at 2007-9-27 18:49:57
Think of how I am feeling: I don't know how to program in Java, I do the tutorials, but they are bugged? Kind of funny =)I come up with these problems when running javac divelog.java from the divelog directory.divelog.java:84: cannot resolve symbolsymbol: class Statisticslocation: class ...

-Error: could not open `C:\Program Files\Java\j2re1.4.0_02\lib\i386\jvm.cf

131 byte By nikkir at 2007-9-27 18:55:39
Using the classpath switch (as advised to an earlier topic message) doesn't work for me. Can you help?! Many thanksN

I have "cannot resolve symbol", need help, a lot of "?" symbol on my head

5672 byte By kevinn1 at 2007-9-27 19:07:09
I've been writting a picture viewer program to view regular image file and dicom file, the dicom code that I use was from eviewbox (by serge derhy), you can get that code by accessing his site at http://eviewbox.sourceforge.net/. I try to put two files under the directory DicomDecoder into my ...

I have "cannot resolve symbol", need help, a lot of "?" symbol on my head

5672 byte By kevinn1 at 2007-9-27 19:07:10
I've been writting a picture viewer program to view regular image file and dicom file, the dicom code that I use was from eviewbox (by serge derhy), you can get that code by accessing his site at http://eviewbox.sourceforge.net/. I try to put two files under the directory DicomDecoder into my ...

Running Java in CICS TS 1.3

672 byte By MelicanT at 2007-9-27 19:23:30
Need a little help trying to make the HelloWorld application (got the following output):SYSPTWM:/usr/lpp/cicsmnt/samples/dfjcics: >make -DMAKESTARTUP=/samples/startup.mk HelloWorld.mak jvm`HelloWorld.mak' is up to dateMaking java bytecode samples for use in JVMRunning HelloWorld.mak javac ...

All SDK files crash when started (errors generated and closed by windows)

350 byte By xggthisnewgg at 2007-9-27 19:36:08
Every time I try to start a java program in SDK 1.4 through windows or through dos, it gives me an error approximate to:Javac.exe has created erros and will be closed by windows.An error log has been created.This happens EVERY time, and I was wondering if there was a way to fix it ><I'm ...

about "Could not found mainclass.Program will exit!"...

629 byte By yangshaoliang at 2007-9-27 19:39:03
about "Could not found mainclass.Program will exit!"...My package is "cn.com.ch2000.yangsl"The main class is BJInfo.classMy MANIFEST.MF setting as follows: Manifest-Version: 1.0 Created-By: 1.4.0_01 (Sun Microsystems Inc.) Main-Class: cn.com.ch2000.yangsl.BJInfo I exec jar.exe as follows:jar ...

"package javax.servlet does not exist" Help me

309 byte By RGiskard at 2007-9-27 19:40:11
I've installed Tomcat4.0 on my Windows 98, to try some examlesI i download ready class files it works but if i try to compile the source with the jdk1.3 here is the error message"23: package javax.servlet does not existimport javax.servlet.*;"HelpRiccardo from ...

javac Problems on Linux

669 byte By wrmillar at 2007-9-27 20:06:33
I have recently installed jdk1.3.1_01 on suSe Linux 8.0 Having problems when a program refers to another class file in the same directory, itcan't find it. e.g.I am revising an old uni project to create a Vector styled Stack, VectorStack implements the Stack interface.Stack.java, Stack.class, ...

jdk 1.4.1 compile can't find javax package

258 byte By iiedwards at 2007-9-27 20:13:46
I wonder if i need to reinstall the j2ee after i installed the new 1.4.1? i have a compile error when running through the j2ee tutorial and it seems the javax package can't be found for the ejb package. Do i need to reinstall or is there an easy fix?

Just Curious: Unidentified Inner Class Test$1.class

1904 byte By luvr1961 at 2007-9-27 20:17:17
When I compile the following code:public class Test{public static void main ( java.lang.String [ ]args ) {java.util.TreeSet treeset = new java.util.TreeSet ( new TestComparator ( ) ) ; }//**************************************************************************//**//* Private Static Inner ...

When Compile it says: Error: Cannot Read: test.java

200 byte By jkarr1 at 2007-9-27 20:42:22
When ever i compile anything on msdos promp( windows Me) it says ErrorCannot Read: Test.javai have set the classpath and path and am using sdk 1.4.0_02.How could I fix this

WinXP and Win2k/98

315 byte By neko79 at 2007-9-27 20:51:30
I have successfully compiled my program on window XP but when i try tocompile the same program in either win2k and win87, it doesn't compileand gives me the error of "cannot resolve symbol".I am using the same java SDK on all the machines.So what have i done ...

the question for ColoredCellTableExample's Compling

701 byte By sf8222 at 2007-9-27 20:52:01
In Website http://www2.gol.com/users/tame/swing/examples/JTableExamples4.html There is a sample which is ColoredCellTableExample, but I can't pass the compiling, so I can get the result. I can compile as follow successly:CellAttribute.javaColoredCell.javaTextColorChooser.java but when I tried ...

class is not public according to compiler, but is according to source

446 byte By tarzanprogrammer at 2007-9-27 20:52:03
I am getting this funny message under forte4 ce where classes that are public are said not to be and can't be accessed outside of the package.for instance, com/ora/jsp/sql/value/BytesValue.java [3:24] com.ora.jsp.sql.Value is not public in com.ora.jsp.sql.ValueI assure you that Value is a ...

forte 4j mounting

655 byte By tarzanprogrammer at 2007-9-27 20:52:18
I have a filesytem mounted at C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\WEB-INF\Classesand then in Classes I have my package com.ora...ext...When I compile, classes get turned into Root.com.ora....ect.Is this something that is designed. Can't I compile classes there. Even if I move it to ...

compiling hell forte adventures

927 byte By tarzanprogrammer at 2007-9-27 20:52:59
I have two classes in the same directory c:\com\com\ora\jsp...One uses the other.I compiled the first using a command line.I tried the second and got the errorcom/ora/jsp/sql/Value.java [21:46] cannot access com.ora.jsp.sql.UnsupportedConversionExceptionbad class file: ...