473,386 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

JCreator Classpath issue

Stubert
20
Hey guys I'm using a Window Vista laptop and I've been away from it for a while, but since I've came back I've been trying to compile programs on JCreator LE 4.5, it must be something ridiculous but I've tried everything I can possibly think of...

This is the output from my file, which only displays "Hello World" to the console:

--------------------Configuration: GUI2 - JDK version 1.6.0_03 <Default> - <Default>--------------------
Command : C:\Program Files\Java\jdk1.6.0_03\bin\javac.exe -g -classpath "C:\Program Files\Xinox Software\JCreatorV4LE\MyProjects\GUI2\classes\;C:\ Program Files\Java\jdk1.6.0_03\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_03\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_03\lib\tools.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext\dnsns.jar;C:\Pr ogram Files\Java\jdk1.6.0_03\jre\lib\ext\localedata.jar; C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext\sunjce_provider .jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext\sunmscapi.jar;C :\Program Files\Java\jdk1.6.0_03\jre\lib\ext\sunpkcs11.jar;C :\Users\Addy\Documents\JCreator LE\MyProjects\Banking\Banking\Classes" -d "C:\Program Files\Xinox Software\JCreatorV4LE\MyProjects\GUI2\classes" C:\Program Files\Xinox Software\JCreatorV4LE\MyProjects\GUI2\src @src_gui2.txt
Directory : "C:\Program Files\Xinox Software\JCreatorV4LE\MyProjects\GUI2"

javac: invalid flag: C:\Program
Usage: javac <options> <source files>
use -help for a list of possible options
-------------------------------------------------------

I really need help with this because I find it easier to do my work on my laptop, cheers.

-Stubert
Jan 23 '08 #1
1 5740
RedSon
5,000 Expert 4TB
Hey guys I'm using a Window Vista laptop and I've been away from it for a while, but since I've came back I've been trying to compile programs on JCreator LE 4.5, it must be something ridiculous but I've tried everything I can possibly think of...

This is the output from my file, which only displays "Hello World" to the console:

--------------------Configuration: GUI2 - JDK version 1.6.0_03 <Default> - <Default>--------------------
Command : C:\Program Files\Java\jdk1.6.0_03\bin\javac.exe -g -classpath "C:\Program Files\Xinox Software\JCreatorV4LE\MyProjects\GUI2\classes\;C:\ Program Files\Java\jdk1.6.0_03\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_03\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_03\lib\tools.jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext\dnsns.jar;C:\Pr ogram Files\Java\jdk1.6.0_03\jre\lib\ext\localedata.jar; C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext\sunjce_provider .jar;C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext\sunmscapi.jar;C :\Program Files\Java\jdk1.6.0_03\jre\lib\ext\sunpkcs11.jar;C :\Users\Addy\Documents\JCreator LE\MyProjects\Banking\Banking\Classes" -d "C:\Program Files\Xinox Software\JCreatorV4LE\MyProjects\GUI2\classes" C:\Program Files\Xinox Software\JCreatorV4LE\MyProjects\GUI2\src @src_gui2.txt
Directory : "C:\Program Files\Xinox Software\JCreatorV4LE\MyProjects\GUI2"

javac: invalid flag: C:\Program
Usage: javac <options> <source files>
use -help for a list of possible options
-------------------------------------------------------

I really need help with this because I find it easier to do my work on my laptop, cheers.

-Stubert
Can you set your classpath outside of the javac call? Make it an environment variable and set it then call javac? I suspect that somewhere in all that text the command line parser is getting confused.
Jan 23 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Herman | last post by:
Hi everyone, I recently installed the Sun J2SE SDK on my machine, and I am having trouble running the java.exe interpreter for my Java compiled code. I remember that I had to set my environment...
0
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
2
by: David Cook | last post by:
Windows (XP and NT) allows one to specify environmental variable (such as PATH and CLASSPATH) at both the SYSTEM-wide level as well as at the per-USER level. And the behavior has always been...
1
by: Dave Keays | last post by:
I am setting-up an experimental web service using Apache Axis but I'm having problems. AXIS can't find a library that I've verified exists on my computer and that CLASSPATH points to it. I'm using...
7
by: dlarsson | last post by:
Okay folks, I thought I was doing something very, very simple, but I cannot seem to get this to work at all. Can anyone identify what I am doing wrong here-? _________________________________ ...
9
by: KevinRobinson | last post by:
Hi, Can anyone please tell me how to add or change a Java classpath in SUSE Linux 9.3. I have set up a Tomcat server but my Java Classes will not run although they do on a windows box. ...
0
by: KiranJyothi | last post by:
Hello everybody, I installed JCreatorI in c:/program files/java and once I am trying to compile my java programs, I am getting this thing : Error : Invalid path,...
0
madhoriya22
by: madhoriya22 | last post by:
Hi, I am setting class path for the Axis webservices framework.This is how I have set the paths : AXIS_HOME : C:\axis AXIS_LIB : %AXIS_HOME%\lib AXISCLASSPATH :...
0
by: Shun | last post by:
Hello. I am currently doing a project using jCreator 1.6 and Oracle 10g. So what I am trying to do is to connect Oracle with Java. I already changed the classpath in jCreator to jdbc Eg :...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.