image
image

Go Back   macosx.com > Design, Media, Programming & Scripting > Software Programming & Web Scripting

Reply
 
LinkBack Thread Tools
  #1  
Old February 17th, 2003, 01:31 AM
mkwan's Avatar
Tech
 
Join Date: Aug 2001
Location: Canada
Posts: 241
Thanks: 0
Thanked 0 Times in 0 Posts
mkwan is on a distinguished road
jikes compiler in CLI

greetings:

I have attempted to compile a simple helloworld program using the jikes compiler. I get 2 errors shown below:

Found 2 system errors:

*** Error: Could not find package "java/util" in:
.



*** Error: Could not find package "java/lang" in:


and yet I was able to compile the code in project builder. what is going on here? and How do I fix the errors?


thanks
__________________
mkwan

UNIX was created in the late 1960s, in an effort to provide a multiuser, multitasking system for use by programmers. The philosophy behind the design of UNIX was to provide simple, yet powerful utilities that could be pieced together in a flexible manner to perform a wide variety of tasks.
Reply With Quote
  #2  
Old February 23rd, 2003, 08:21 AM
Registered User
 
Join Date: Feb 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Banana is on a distinguished road
Try using javac instead of jikes, or setting your classpath in the arguments to jikes.
Reply With Quote
  #3  
Old February 24th, 2003, 12:52 AM
mkwan's Avatar
Tech
 
Join Date: Aug 2001
Location: Canada
Posts: 241
Thanks: 0
Thanked 0 Times in 0 Posts
mkwan is on a distinguished road
how do I set the classpath to jikes?
__________________
mkwan

UNIX was created in the late 1960s, in an effort to provide a multiuser, multitasking system for use by programmers. The philosophy behind the design of UNIX was to provide simple, yet powerful utilities that could be pieced together in a flexible manner to perform a wide variety of tasks.
Reply With Quote
  #4  
Old February 24th, 2003, 08:57 PM
Registered User
 
Join Date: Feb 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Banana is on a distinguished road
Not "set the classpath to jikes", "set the classpath" in "the arguments to jikes".
Reply With Quote
  #5  
Old February 24th, 2003, 09:21 PM
mkwan's Avatar
Tech
 
Join Date: Aug 2001
Location: Canada
Posts: 241
Thanks: 0
Thanked 0 Times in 0 Posts
mkwan is on a distinguished road
you mean like:

<jikes -option "classpath...."> ?


(sorry I have not done this before and I wanted to compile the java source code using the jikes compiler, but was getting errors similar to the earlier post)
__________________
mkwan

UNIX was created in the late 1960s, in an effort to provide a multiuser, multitasking system for use by programmers. The philosophy behind the design of UNIX was to provide simple, yet powerful utilities that could be pieced together in a flexible manner to perform a wide variety of tasks.
Reply With Quote
  #6  
Old February 24th, 2003, 09:22 PM
mkwan's Avatar
Tech
 
Join Date: Aug 2001
Location: Canada
Posts: 241
Thanks: 0
Thanked 0 Times in 0 Posts
mkwan is on a distinguished road
disregard the last post

I forgot about the stupid angle brackets...
__________________
mkwan

UNIX was created in the late 1960s, in an effort to provide a multiuser, multitasking system for use by programmers. The philosophy behind the design of UNIX was to provide simple, yet powerful utilities that could be pieced together in a flexible manner to perform a wide variety of tasks.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
java2native compiler macawet Software Programming & Web Scripting 4 December 4th, 2003 11:27 AM
nativ mac osX java compiler macawet Software Programming & Web Scripting 3 October 23rd, 2003 07:11 AM
Little Problem with finding a small compiler... thesinx Software Programming & Web Scripting 4 May 23rd, 2003 01:04 PM
cc compiler problem niteowl Software Programming & Web Scripting 5 April 11th, 2003 09:24 PM
Samba SWAT problem, CLI blues Lazarus18 Mac OS X System & Mac Software 0 December 5th, 2001 02:05 AM


All times are GMT -5. The time now is 11:45 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.