Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / June 2003



Tip: Looking for answers? Try searching our database.

CodeWarrior 8.3 Link Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mahesh Soori - 25 Jun 2003 02:29 GMT
I'm using Win2k, with all the service pack and upto date.  The "Access
Denied" error is wrong, as I can write to that location (run as the
admin on sys, and even created text files on that location)

I got my CW8 updated to the latest 8.3 and its giving me link errors
as follows:

Link Error   : Error writing file: java.io.FileNotFoundException:
C:\CWProjects\mgrout\Main.class (Access is denied)
Link Error   : Failed to write out file
"C:\CWProjects\test2\Main.java".

This is the set up I had

Create a project
Set the linker to "Java"
Select an "Output Directory" from "Target Settings"
Select "Application" for "Java Target" and specify a main class
From the "Java Output" tab, select "Class Folder" and leave name as
blank (since I have a seperate dir for that)

Compile and run.   You get these link errors.

I think 8.2 works fine... and I might have to switch back to it.  If
any one has a work around, please let me know.

Thanks,
Mahesh.
MW Ron - 25 Jun 2003 03:15 GMT
>I'm using Win2k, with all the service pack and upto date.  The "Access
>Denied" error is wrong, as I can write to that location (run as the
[quoted text clipped - 21 lines]
>I think 8.2 works fine... and I might have to switch back to it.  If
>any one has a work around, please let me know.

Try reinstalling Java,  it looks like it can't find the Java SDK.   It
is saying it can't build the project so there isn't any output to write.

If that isn't it drop me a line and I'll check with the Java Gurus

Ron

Signature

                Metrowerks is MOVING!
      Beginning July 7th, our new address will be:
                7700 West Parmer Lane
                   Austin, TX 78729
      Support 512-996-5300    Sales 800-377-5416    
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com

Mahesh Soori - 25 Jun 2003 18:20 GMT
Hi Ronn,

Well, it compiles fine... and even creates a jar file if set the
"Output Type" from "Java Output" pref to "Jar File", so its not that
be that CW cannot locate the JDK... except that I need it create a
class dir structure... but I'll give your suggestion a try anyway.

Thanks,
Mahesh.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.