Solved

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

Posted on 2002-06-07
6
605 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
allswap challenge 6 80
listing all functions in JavaScript 19 180
thymeleaf natural templating vs JSP 2 69
how to add new optional parameter to JSP 1 29
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
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:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

863 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

24 Experts available now in Live!

Get 1:1 Help Now