Solved

How can I install bdk (Beans Dev. Kit) on Linux?

Posted on 2002-06-07
6
599 Views
Last Modified: 2013-11-21
I am working my way through the book "Just Java." Things were
going well until I got to chapter 23, "Java Beans in Theory."  My
troubles with installing a bean development environment are many.  
So this is one of three postings, each covering a different area
and each awarding its own points.

This question is can I install bdk1.1 (Bean Development Kit
1.1) on Linux and how?

The book chapter expects one to have bdk available, even though it
says that bdk is no longer supported. I cannot find a bdk for
Linux on the Sun web site. So I downloaded the bdk for Solaris.  
(Java is supposed to be Run-Anywhere.  Right?)

I have a file called:          bdk1_1-solsparc.bin

This file starts out like a shell script.  Then it changes
abruptly to binary.  The script seems to want some parameters.  
But what is not documented.

I run it like so:              

        # . ./bdk1_1-solsparc.bin

I get the following messages:

    ls : bash: No such file or directory
    chksum: /tmp/install.dir.30268/InstallerData/installer.zip: No such file or directory
    expr:  syntax error
    ls: bash: No such file or directory.

    Please choose a Java virtual machine to run this program.
    (These virtual machines were found on your PATH)
    ---------------------------------------------------------
    1. /usr/java/j2sdk1.4.0/bin/java
    2. /usr/bin/java
    3. /usr/bin/java
    4: Exit.
    Please enter your selection (number):

I enter 1.  That is the path I get when I run "which java."
(/usr/bin/java contains a short script that runs kaffe.)

Then the script exits and nothing happens.  

Question.  Is it even possible to install bdk on Linux?  If so,
how?
0
Comment
Question by:Jim_S
  • 4
  • 2
6 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 7064668
 Whoah... I have not used BDK since my university years (three years ago)... Anyhow from what I remember there must be three versions of BDK. One for Windows, one for Solaris and one that can be used for any platform that supports a java2 environment. I would strongly suggest you to download the platform-independent version, since I think the Solaris and Windows ones are using operating-specific features through JNI calls.

  After installation completes you will need to run your BeanBox by using the "java" command (in contrast with th eSOlaris one where you need to run it by running the run.sh script).

  Hope it helps.
0
 

Author Comment

by:Jim_S
ID: 7064920
girionis>there must be three versions of BDK. One for Windows, one for Solaris and one that can be used for any
girionis>platform

I could only find two platforms, Solaris and Windows at
the following URL.

    http://java.sun.com/products/javabeans/software/bdk_download.html

Do you have a better URL?

girionis>After installation completes ...

If I ever get it installed ...

girionis>I have not used BDK since my university years

So what do you use now as a bean-testing tool now?  
(I have posted another question asking how to do bean testing
with Forte.)

0
 
LVL 35

Accepted Solution

by:
girionis earned 100 total points
ID: 7065150
 You are lucky, I have kept the address:

http://java.sun.com/beans/software/index.html

  To download the platform independent BDK go to the section that says : "To download a platform independent BDK 1.1, click on the "continue" button.". It is just below the one that has the BDK for Solaris and Windows.

  >So what do you use now as a bean-testing tool now?

  I am not using the BDK to test beans. I am just testing them alongside with the rest of the beans in my application.

  Hope it helps.
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 35

Expert Comment

by:girionis
ID: 7065154
 Forgot to mention. When you go to the above page you will need to click on the "BDK 1.1 - April '99 download" link.

 
0
 

Author Comment

by:Jim_S
ID: 7066238
girionis,

My apologies.  There is a button for downloading a
platform-independant version.  (I feel stupid for not seeing
it the first time.)

I've downloaded it and got it working -- kind of. It throws me an
exception now and then.  But it keeps on working after the
exception.

Thank you.


Jim S.
0
 
LVL 35

Expert Comment

by:girionis
ID: 7066374
 Do not worry. Everybody has been through this. I am glad I helped. Thank you for the points :-)
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now