 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Danno Guest
|
Posted: Sat Apr 14, 2007 2:07 am Post subject: Re: help |
|
|
On Apr 13, 1:10 pm, "sam" <samcoo...@gmail.com> wrote:
| Quote: | please anybody tell me where will i download free bdk????
|
http://java.sun.com/products/javabeans/ |
|
| Back to top |
|
 |
Daniel Pitts Guest
|
Posted: Sat Apr 14, 2007 2:48 am Post subject: Re: help |
|
|
On Apr 13, 12:10 pm, "sam" <samcoo...@gmail.com> wrote:
| Quote: | please anybody tell me where will i download free bdk????
|
I don't know what the bdk is.
If you're looking for the JDK, I suggest going to <http://java.sun.com/
> |
|
| Back to top |
|
 |
Daniel Dyer Guest
|
Posted: Sat Apr 14, 2007 3:04 am Post subject: Re: help |
|
|
On Fri, 13 Apr 2007 22:48:57 +0100, Daniel Pitts
<googlegroupie (AT) coloraura (DOT) com> wrote:
| Quote: | On Apr 13, 12:10 pm, "sam" <samcoo...@gmail.com> wrote:
please anybody tell me where will i download free bdk????
I don't know what the bdk is.
If you're looking for the JDK, I suggest going to <http://java.sun.com/
|
The BDK is the (Java) Bean Development Kit.
http://java.sun.com/developer/onlineTraining/Beans/JBShortCourse/exercises/index.html
Dan.
--
Daniel Dyer
https://watchmaker.dev.java.net - Evolutionary Algorithm Framework for Java |
|
| Back to top |
|
 |
Daniel Pitts Guest
|
Posted: Sat Apr 14, 2007 4:05 am Post subject: Re: help |
|
|
On Apr 13, 3:04 pm, "Daniel Dyer" <"You don't need it"> wrote:
Heh. Okay, that makes sense now.
Of course, the answer is the same. java.sun.com  |
|
| Back to top |
|
 |
Brandon McCombs Guest
|
Posted: Sat Apr 14, 2007 7:12 am Post subject: Re: question |
|
|
Philipp wrote:
| Quote: | Brandon McCombs wrote:
Andrew Thompson wrote:
aemi wrote:
Why Outer Class not Defined private or Protected?
Why not do your own homework?
(Warning: That may actually require you to read
at least some of the course materials!)
Internet etiquette specifies message signatures to be no longer than 3
lines. Please refrain from posting messages with signatures longer
than 3 lines so they doesn't waste my 6Mbps bandwidth.
Excuse my naive question, but do these 3 more lines with (max) 80 signs
(=240 bytes!) really make a difference?
|
It's not the bandwidth usage that is the problem. For some people, they
have a 6+ line sig and their message may be 2 lines long. It just
doesn't make sense to have a signature longer than your message.
With all the complaining Andrew does concerning people's grammar,
spelling, punctuation, etc. you would think he would fix his own
signature before complaining about someone else. |
|
| Back to top |
|
 |
Chris Smith Guest
|
Posted: Sat Apr 14, 2007 7:12 am Post subject: Re: polymorphism |
|
|
Chris Uppal <chris.uppal (AT) metagnostic (DOT) REMOVE-THIS.org> wrote:
| Quote: | Chris Smith wrote:
There
are a few C++ compilers that do not use vtables
Do you have any references/links for that ?
|
Unfortunately, no. About 15 years ago, I used a C++ compiler for an
embedded processor that did not use vtables -- I know, because part of
the job involved examining the memory layout and writing assembly code
to interact with it. The processor was the Z80, but I don't recall the
compiler or vendor.
It is simply my assumption that other C++ compilers may not use vtables,
either. Perhaps my assumption is wrong.
| Quote: | I don't (currently) see how to
implement C++'s turn-off-polymorphism-during-the-ctor semantics without either
massive complexity (worse than "ordinary" PICs), vtables, or nasty run-time
tests.
|
The technique involved a single hidden field in each object to identify
its class. Each virtual method signature foo in some class hierarchy
would cause the compiler to synthesize a _foo_dispatch function, which
did a conditional branch based on the contents of that hidden field.
Calls to the member function would actually call _foo_dispatch, which
would jump to the appropriate code.
Although I can't guarantee this compiler did it, one could turn off
polymorphism beyond a certain superclass simply by changing the type
field.
--
Chris Smith |
|
| Back to top |
|
 |
Andrew Thompson Guest
|
|
| Back to top |
|
 |
Rts Guest
|
Posted: Fri Apr 27, 2007 12:24 am Post subject: Re: java.lang.NoClassDefFoundError |
|
|
I have the same problem with tomahawk-1.1.5.jar
Did not found solution yet  |
|
| Back to top |
|
 |
Robert Mark Bram Guest
|
Posted: Tue May 01, 2007 5:39 am Post subject: Re: Exec |
|
|
Hi Francois,
One thought about this aspect.
| Quote: | but I want it to work as well on a Mac and Linux). I have the
pathname to the application (as a File object). But I can't find the method
|
The path (and even name) of your command might be different in the
different environments. It would be worth while to externalize the
definition of your command into a database or properties file that can
be changed for each environment.
Rob
 |
|
| Back to top |
|
 |
Mark Space Guest
|
Posted: Fri May 18, 2007 3:06 am Post subject: Re: Exception in thread "main" java.lang.NoSuchMethodError |
|
|
Don wrote:
| Quote: | Sorry about that. I'm compiling and running the program using Textpad.
|
I don't want to sound snarky, but I don't think you're running your
program with Textpad. Textpad isn't a JVM He means we need to see
the command line you execute because you might not be using defaults.
java MortPayCalc2
or whatever |
|
| Back to top |
|
 |
Mark Space Guest
|
Posted: Fri May 18, 2007 3:10 am Post subject: Re: Exception in thread "main" java.lang.NoSuchMethodError |
|
|
Mike Schilling wrote:
| Quote: | If that's not explicit enough advice, a common pattenr for a main() method
is:
class Foo
{
public static void main(String[] args)
{
Foo foo = new Foo();
foo.doSomething();
}
}
|
And even more explicitly:
public static void main(String[] args)
{
while (end == false)
{
GetPrincipal();
GetLoanTerms();
CalculatePayment();
CalculateAmortization();
DisplayResults();
None of those last five lines call a static method. You need to
MortPayCalc2 morty = new MortPayCalc2();
morty.GetPrincipal();
// etc...
not invoke those methods "bare." |
|
| Back to top |
|
 |
Andrew Thompson Guest
|
Posted: Fri May 18, 2007 7:12 am Post subject: Re: Exception in thread "main" java.lang.NoSuchMethodError |
|
|
Mark Space wrote:
| Quote: | TextPad has menu items and hotkeys to (invoke the
J2SE tools to) compile source and run classes. There
is also a 'configuration' dialog for the launch parameters
of either.
Does it really? I had no idea. Mea culpa. Still, we could have used
the command being invoked to run the class.
|
I suspect they are the same as it comes 'out of the box'.
The command config. is broken into three fields, and
contains values like '$BaseName' & '$FileDir'.
..when it came to that point, I felt it was better to
ignore what TextPad was doing (right, wrong or
otherwise), and organise this from the command
line. ;-)
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200705/1 |
|
| Back to top |
|
 |
Andrew Thompson Guest
|
Posted: Fri May 18, 2007 7:12 am Post subject: Re: Exception in thread "main" java.lang.NoSuchMethodError |
|
|
Mark Space wrote:
| Quote: | Sorry about that. I'm compiling and running the program using Textpad.
I don't want to sound snarky, but I don't think you're running your
program with Textpad. Textpad isn't a JVM He means we need to see
the command line you execute because you might not be using defaults.
|
TextPad has menu items and hotkeys to (invoke the
J2SE tools to) compile source and run classes. There
is also a 'configuration' dialog for the launch parameters
of either.
That being said, I recommend the OP learn how to compile
and run from the command line, so they ..
a) have control over the process
b) understand what is possible
c) can answer questions like the one that prompted
the TextPad strand of the thread.
c) also ties into a).
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200705/1 |
|
| Back to top |
|
 |
Mark Space Guest
|
Posted: Fri May 18, 2007 7:12 am Post subject: Re: Exception in thread "main" java.lang.NoSuchMethodError |
|
|
Andrew Thompson wrote:
| Quote: | TextPad has menu items and hotkeys to (invoke the
J2SE tools to) compile source and run classes. There
is also a 'configuration' dialog for the launch parameters
of either.
|
Does it really? I had no idea. Mea culpa. Still, we could have used
the command being invoked to run the class.
Thinking about this some more, the class is not public (it's default
package-private, I think.) And it's not in any package either. So
without testing to see if two classes at in the default package can
reference each other, and with out any changes (no static main) to the
original, this would work:
public class Runner {
public static main( String [] args ) {
MortPayCalc2 morty = new MortPayCalc2();
morty.main( args );
}
}
Certainly, if you put both these classes in the same file, it would
work. (Well, and the file was called Runner.java.)
Which may explain how your class was expecting to be used. It's a
slightly different idiom than the ones we were giving you. |
|
| Back to top |
|
 |
Philipp Taprogge Guest
|
Posted: Sun May 20, 2007 4:08 am Post subject: Re: JBoss |
|
|
Hi!
Thus spake Arne Vajhøj on 05/19/2007 09:52 PM:
| Quote: | Yes.
It is open source.
|
opensource != free for all...
Please keep in mind that many open source projects, namely those released
under terms of the GPL, can _not_ be freely used in commercial products.
Since JBoss is released under LGPL terms, this is not an issue here, though.
Regards,
Phil |
|
| Back to top |
|
 |
|
|
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
|
|