BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: Can't compile Sun samples using JBuilder 2005

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Compiler
View previous topic :: View next topic  
Author Message
PhilipNCG Staniforth
Guest





PostPosted: Mon Oct 24, 2005 2:25 pm    Post subject: Re: Can't compile Sun samples using JBuilder 2005 Reply with quote



Thanks Kevin.

Sorry for selecting the wrong news group in the first instance..

I have included here the error lists produced when compiling both samples
under Foundation 2005.

From JavaSoundDemo...
< Build completed with 35 erros, 2 warnings and 6 files
built.

"CapturePlayback.java": cannot find symbol; symbol: class ControlContext at
line 57, column 72
"CapturePlayback.java": interface expected here at line 57, column 72
"CapturePlayback.java": cannot find symbol; symbol : variable JavaSound,
location: class CapturePlayback at line 243, column 17
"CapturePlayback.java": cannot find symbol; symbol : variable JavaSound,
location: class CapturePlayback.Capture at line 495, column 17
"Groove.java": cannot find symbol; symbol: class ControlContext at line 67,
column 63
"Groove.java": interface expected here at line 67, column 63
"Groove.java": cannot find symbol; symbol : class TempoDial, location:
class Groove at line 73, column 5

"Groove.java": cannot find symbol; symbol : class TempoDial, location:
class Groove at line 73, column 31
"JavaSound.java": cannot find symbol; symbol : variable JavaSoundApplet,
location: class JavaSound at line 63, column 13
"JavaSound.java": cannot find symbol; symbol : class Juke, location: class
JavaSound at line 84, column 15
"JavaSound.java": cannot find symbol; symbol : class Juke, location: class
JavaSound at line 84, column 31
"JavaSound.java": cannot find symbol; symbol : class ControlContext,
location: class JavaSound at line 104, column 11
"JavaSound.java": cannot find symbol; symbol : class ControlContext,
location: class JavaSound at line 109, column 11
"JavaSound.java": cannot find symbol; symbol : class MidiSynth, location:
class JavaSound at line 151, column 9
"JavaSound.java": cannot find symbol; symbol : class MidiSynth, location:
class JavaSound at line 151, column 35
"JavaSound.java": cannot find symbol; symbol : class Groove, location:
class JavaSound at line 157, column 9
"JavaSound.java": cannot find symbol; symbol : class Groove, location:
class JavaSound at line 157, column 29
"JavaSoundApplet.java": cannot find symbol; symbol : class JavaSound,
location: class JavaSoundApplet at line 46, column 13
"JavaSoundApplet.java": cannot find symbol; symbol : class JavaSound,
location: class JavaSoundApplet at line 55, column 51
"Juke.java": cannot find symbol; symbol: class ControlContext at line 60,
column 88
"Juke.java": interface expected here at line 60, column 88
"Juke.java": cannot find symbol; symbol : variable JavaSound, location:
class Juke at line 155, column 13
"Juke.java": cannot find symbol; symbol : variable JavaSound, location:
class Juke.JukeTable at line 850, column 21
"MidiSynth.java": cannot find symbol; symbol: class ControlContext at line
50, column 50
"MidiSynth.java": interface expected here at line 50, column 50
"MidiSynth.java": cannot find symbol; symbol : variable JavaSound,
location: class MidiSynth.RecordFrame at line 768, column 21
"MidiSynth.java": cannot find symbol; symbol : variable JavaSound,
location: class MidiSynth.RecordFrame at line 796, column 17


From SerialDemo...
< Build completed with 35 erros, 2 warnings and 6 files
built.

"PortRequestedDialog.java": cannot find symbol; symbol : class SerialDemo,
location: class PortRequestedDialog at line 45, column 13
"PortRequestedDialog.java": cannot find symbol; symbol : class SerialDemo,
location: class PortRequestedDialog at line 53, column 32
"PortRequestedDialog.java": operator + cannot be applied to
SerialDemo.getLocationOnScreen.x,int at line 81, column 50
"PortRequestedDialog.java": operator + cannot be applied to
SerialDemo.getLocationOnScreen.y,int at line 82, column 50
"PortRequestedDialog.java": cannot find symbol; symbol : method
setLocation(<nulltype>,<nulltype>), location: class PortRequestedDialog at
line 81, column 9
"SerialConnection.java": cannot find symbol; symbol : class SerialDemo,
location: class SerialConnection at line 45, column 13
"SerialConnection.java": cannot find symbol; symbol : class
SerialParameters, location: class SerialConnection at line 49, column 13
"SerialConnection.java": cannot find symbol; symbol : class SerialDemo,
location: class SerialConnection at line 70, column 29
"SerialConnection.java": cannot find symbol; symbol : class
SerialParameters, location: class SerialConnection at line 71, column 29
"SerialConnection.java": cannot find symbol; symbol : class
SerialConnectionException, location: class SerialConnection at line 90,
column 40
"SerialConnection.java": cannot find symbol; symbol : class
SerialConnectionException, location: class SerialConnection at line 167,
column 50
"SerialConnection.java": cannot find symbol; symbol : class
SerialConnectionException, location: class SerialConnection at line 97,
column 23
"SerialConnection.java": cannot find symbol; symbol : class
SerialConnectionException, location: class SerialConnection at line 107,
column 23
"SerialConnection.java": cannot find symbol; symbol : class
SerialConnectionException, location: class SerialConnection at line 114,
column 18
"SerialConnection.java": cannot find symbol; symbol : class
SerialConnectionException, location: class SerialConnection at line 126,
column 23
"SerialConnection.java": cannot find symbol; symbol : class
SerialConnectionException, location: class SerialConnection at line 140,
column 23
"SerialConnection.java": cannot find symbol; symbol : class
SerialConnectionException, location: class SerialConnection at line 188,
column 23
"SerialConnection.java": setFlowControlMode(int) in javax.comm.SerialPort
cannot be applied to (boolean) at line 193, column 19
"SerialConnection.java": cannot find symbol; symbol : class
SerialConnectionException, location: class SerialConnection at line 196,
column 23
"SerialConnection.java": cannot find symbol; symbol : class
PortRequestedDialog, location: class SerialConnection at line 302, column
13
"SerialConnection.java": cannot find symbol; symbol : class
PortRequestedDialog, location: class SerialConnection at line 302, column
43
"SerialDemo.java": cannot find symbol; symbol : class SerialParameters,
location: class SerialDemo at line 71, column 13
"SerialDemo.java": cannot find symbol; symbol : class SerialConnection,
location: class SerialDemo at line 72, column 13
"SerialDemo.java": cannot find symbol; symbol : class SerialParameters,
location: class SerialDemo at line 104, column 26
"SerialDemo.java": cannot find symbol; symbol : class SerialConnection,
location: class SerialDemo at line 178, column 26
"SerialDemo.java": cannot find symbol; symbol : class AlertDialog,
location: class SerialDemo at line 206, column 17
"SerialDemo.java": cannot find symbol; symbol : class AlertDialog,
location: class SerialDemo at line 206, column 38
"SerialDemo.java": cannot find symbol; symbol : class
SerialConnectionException, location: class SerialDemo at line 261, column
22
"SerialDemo.java": cannot find symbol; symbol : class AlertDialog,
location: class SerialDemo at line 262, column 17
"SerialDemo.java": cannot find symbol; symbol : class AlertDialog,
location: class SerialDemo at line 262, column 38
"SerialDemo.java": [deprecation]
save(java.io.OutputStream,java.lang.String) in java.util.Properties has
been deprecated at line 341, column 18
"SerialDemo.java": cannot find symbol; symbol : class AlertDialog,
location: class SerialDemo.ConfigurationPanel at line 585, column 21
"SerialDemo.java": cannot find symbol; symbol : class AlertDialog,
location: class SerialDemo.ConfigurationPanel at line 585, column 42
"SerialDemo.java": cannot find symbol; symbol : class
SerialConnectionException, location: class SerialDemo.ConfigurationPanel at
line 599, column 26
"SerialDemo.java": cannot find symbol; symbol : class AlertDialog,
location: class SerialDemo.ConfigurationPanel at line 602, column 21
"SerialDemo.java": cannot find symbol; symbol : class AlertDialog,
location: class SerialDemo.ConfigurationPanel at line 602, column 42
There have been deprecation warnings. Please consult the documentation for
a better alternative.

I trust that you will be able to identify the issues. I think it is
something to do with the 'javax.' libraries - but hey I'm pretty new to
Java.

Cheers,

Philip


Kevin Dean [TeamB] <NkOdSePaAnM (AT) datadevelopment (DOT) com> wrote in article
<xn0e8v9x91wcrn001-kdean (AT) www (DOT) teamb.com>...
Quote:
PhilipNCG Staniforth wrote:

Hi,

I'm fighting to get JBuilder 2005 to compile and execute code samples
from
Sun. In the main the compiler errors indicate missing symbols for both
code
samples. The code samples are JavaSoundDemo and those with the commapi.

I'm creating new projects and including all the source code then making,
rebuilding and running. In general the errors come about when making and
attempting to execute since that remakes the files. Few classes build
without error and produce java code.

I have checked and rechecked the location for the supplied dll, jar and
.properties files and possibly have them in other places to to cover the
options.

I've tried to explicitly include references to the jar files that come
with
the samples thinking that there's some important library missing. The
clue
for this stemming from trying to use JBuilder 3.5 but seeing different
results. There are still compilation failures. For example...

"TempoDial.java": Error #. 302 : cannot access class
javax.sound.midi.Sequencer; neither class nor source found for
javax.sound.mide.Sequencer...

I can run the javacode as supplied so it seems that the environment is
close to being what it should though not entirely right since the
serialDemo does not see the PC's ports...

I'd like to start using these samples as the basis of experiemntation
and
development activity.

Please shed some light on what I'm doing wrong.

Cheers,

Philip

Hi. Using JBuilder 3.5 as a basis for comparison won't really work as
JBuilder 3.5 is so out of date it make tie dye T-shirts look fashionable.

Can you copy some of the compilation errors in your next post? That will

help figure out where the problem lies.

Finally, as this is not an installation issue, I have set follow-up to
b.p.jbuilder.compiler.

--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Compiler All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.