Re: New user

1998-11-27 Thread wdacruz

-WELCOME- to the Java Developer Connection(sm) Newsletter, covering Early
Access software releases, new products, developer programs, and more.



 J  D  CN  E  W  S  L  E  T  T  E  R
 
 PRODUCT NEWS
  *  Early Access Developer Release Software
  *  JDK(tm) 1.2 Port for Linux Announced
  *  Java Card(tm) API 2.1 Specification Draft 2 Released
  *  EmbeddedJava(tm) 1.0 Specification Now Complete
  *  Java(tm) Embedded Server 1.0 Demo Released
  *  JDBC 2.0 Standard Extension APIs Now Available
  *  Java(tm) Servlet API Specification 2.1 Released
  *  Java Communications API 2.0 Released
   

 INSIDE THE JDC 
  *  New on the JDC 
  *  PersonalJava(tm) Contest Winners Announced!

  
 DEVELOPER PROGRAMS AND RESOURCES
  *  Java(sm) Business Expo(sm)
  *  Java Industry Connection(sm) Web Site 
  *  New Sun Developer Essentials(tm) Editions Available 
  *  Sun Support Access Announced 
  *  Sun Developer Connection(sm) Goes Global 
  *  Is Your Software 100% Pure Java(tm)?
  *  Java Platform Events
  *  Visit Sun's Java Technology Web Site

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
P R O D U C T  N E W S

EARLY ACCESS DEVELOPER RELEASE SOFTWARE.  The following Java(tm) platform
software is now available for download on the JDC:  Java Development Kit
1.2 Release Candidate 2, Java Media Framework 1.1, JavaHelp(tm) 1.0, Java
Wallet Release 1.0, Java 3D(tm) 1.1, POP3 Provider.  To access, see:

http://java.sun.com/jdc/earlyAccess/index.html


JDK(tm) 1.2 PORT FOR LINUX ANNOUNCED.  In support of the Linux developer
community, this announced port is designed to enable Java technology-based
applications to run on the Linux operating system.  The port represents the
latest operating environment to support the Java platform, with more than
15 platforms currently supporting the JDK -- from AIX and the MacOS to
Netware and now Linux.  For more information, see:

http://java.sun.com/pr/1998/11/pr981102-01.html



At 03:59 PM 11/26/98 -0200, you wrote:
>Hi there,
>
>   people... i have 1 machine redhat 5.1 and need very very to install JDK
>1.2.x but i dont found... anibody say to me where i find
>
>
>Thanx.
>
>Tobias Ramos
>Diamantina MG
>[EMAIL PROTECTED]
>
>
>
Linux, Freedom, and Hapiness   | 408.294.4750
http://www.concentric.net/~Wdacruz/Index.shtml | [EMAIL PROTECTED]
 
___|___



Unix/Linux commands using Java

1998-12-02 Thread wdacruz

Hi!

I just finished studying Java on a Windows environment using VisualJ++ and
Visual Cafe for Windows.  Now, I want to start writing a java program in my
RH5.2 linux box using JDK1.17a, which I just installed.
I have some questions before I start: 
1. Can I call Unix/Linux commands from my java program?  If I can, where
can I get information/examples?
2. Can I combine Perl with Java?
3. Can I get javax.swing package in Linux?

I will appreciate any help I could get.

Sincerely,
Walter G. da Cruz

Linux and Java will save the world :-) | 408.294.4750
http://www.concentric.net/~Wdacruz/Index.shtml | [EMAIL PROTECTED]
___|___



Re: installation

1998-12-02 Thread wdacruz

This is what I did:
1. Deinstall Kaffe.
2. mkdir /java  // of course, you have to specify your directory
3. chown wdacruz /java
4. chgrp wdacruz /java
5. su wdacruz
6. tar xvzf jdk_1_1_7-v1a-glibc-x86_tar.gz
7. tar xvzf jdk_1_1_7-v1a-glibc-x86-native_tar.gz
8. My java directory looks like this:
...
drwxr-s-x 5 wdacruz wdacruz 1024 Nov 29 18:43 jdk117_v1a
...
9. cd /home/wdacruz
10. vi .bashrc
11. add line at the end: export PATH=/java/jdk117_v1a/bin:$PATH
12. Save file, exit, and login again
13. type: 'which java' You should get: /java/jdk117_v1a/bin/java
14. type: 'java -version' You should get: java version "1.1.7"

I hope this could help.

Regards, Walter

At 11:04 PM 12/3/98 +0930, you wrote:
>Hi, I followed the install notes  for jdk117 on redhat 51 and get
>the message CLASSPATH not set ??? when i try to  use it , the notes say I
>dont have to do  this. TIA and regards. 
Linux and Java will save the world :-) | 408.294.4750
http://www.concentric.net/~Wdacruz/Index.shtml | [EMAIL PROTECTED]
___|___



swing-1.1beta3

1998-12-03 Thread wdacruz

I'm having some problems to install swing-1.1beta3 on RH5.2.

1. I installed jdk in /java/jdk117_v1a/
2. I downloaded swing11-beta3.tar.z into /java
3. tar xvzf swing11-beta3.tar.z created directory /java/swing-1.1beta3 + 60
html files own by user uucp and group 143.
4. I added the following lines to .bash_profile for user /home/wdacruz: 
PATH:/java/swing-1.1beta3:$PATH
CLASSPATH=.
SWING_HOME=/java/swing-1.1beta3
export PATH CLASSPATH SWING_HOME
5. wdacruz env shows:
...
PATH=/java/swing-1.1beta3:/java/jdk117_v1a/bin:
SWING_HOMEL=/java/swing-1.1beta3
...

6. I tested swingapplication.java that start: 

import javax.swing.*;   // This is the final packge name.
// import com.sun.java.swing.*; // Used by JDK 1.2 Beta 4 and all
 // Swing releases before Swing 1.1 Beta 3.
...

7. javac swingapplication.java
I got the error message: Package javax.swing not found in import
import javax.swing.*;
   ^
JDK1.1.7_v1a works fine, but the compiler does not find the swing package.
What I am doing wrong?  Did I installed swing-1.1beta3 in the wrong
directory? the CLASSPATH points to the wrong place? swingall.jar resides in
/java/swing-1.1beta3/ directory.

Thank you for all the help I got so far.

Walter.
Linux and Java will save the world :-) | 408.294.4750
http://www.concentric.net/~Wdacruz/Index.shtml | [EMAIL PROTECTED]
___|___



Re: calling cgi from java

1999-02-26 Thread wdacruz


You should check www.perl.com. The latest devel. version (I think
5.005_54) includes JPL, which allows java programs to work with Perl and
CGI.  

Walter.

At 11:20 AM 2/25/99 -0800, you wrote:
>Thanks for the reference of the Java HOWTO, but I am not looking the
>execute java as a CGI. What I need to do is call a CGI from within Java.
>This is an applet and I do not have access to modify the server in any way.
>In this case showDocument(0 won't work.
>
>Thanks,
>r.b.
>
>
>
>Linuxsoft
>http://www.linuxsoft.net
>408.289.1286
>
>
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
>
Linux and Java will save the world :-) | 408.294.4750
http://www.concentric.net/~Wdacruz/Index.shtml | [EMAIL PROTECTED]
___|___


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Linux World

1999-03-03 Thread wdacruz

Hi!

I just came from the Linux World expo. It's _really_ crowded there.  There
is one computer at the Sun booth that is running Linux 2.0. I didn't have
opportunity to check it :-( but one of the exhibitors told me that the
final release could be ready as early as thursday.  I personally doubted,
but he should have his source.
On the other hand, one exhibitor at Cygnus told me that they have a Java
tool (LibJava? I'm not sure) that is faster than JDK and can be downloaded
free from the internet.  I don't know much about Cygnus software, so please
give me some points if it's worth to try it.

Walter
Linux and Java will save the world :-) | 408.294.4750
http://www.concentric.net/~Wdacruz/Index.shtml | [EMAIL PROTECTED]
___|___


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: JDK1.2

1999-03-26 Thread wdacruz


http://www.fr.kernel.org/pub/linux/kernel/alan/2.0.37pre/2.0.37/

At 11:16 PM 3/26/99 +0100, you wrote:
>I'm using Red Hat 5.2  with kernel 2.0.36-1
>
>Where can i find the kernel 2.0.37 (what is the problem if i use jdk1.2
>with kernel 2.0.36).
>
>Excuse me english (i'm frensh).
>
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
>
A Linux enthusiast :-) | 408.294.4750
http://www.concentric.net/~Wdacruz/Index.shtml | [EMAIL PROTECTED]
___|___


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to make JDK1.2-pre-v1 as my default JVM

1999-04-02 Thread wdacruz


You need to uninstall kaffe:

rpm -ev kaffe*

At 07:29 PM 4/1/99 -0800, you wrote:
>Hi,
>
>I have realized after many agonizing hours that some of my problem is really
>due to Kaffe. I'm currently running RedHat 5.2 and I downloaded JDK preview
>v1. I set the PATH variable to point to "/usr/jdk1.2/bin". However, this
>does not prevent Kaffe VM to kick in if I simply type "java .." in the
>command line. I have to type "/usr/jdk1.2/bin/java..", instead. I'm new
>to Linux. Is there any way I can make the JDK 1.2 VM as the default? Thanks.
>
>Joe
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
>
A Linux enthusiast :-) | 408.294.4750
http://www.concentric.net/~Wdacruz/Index.shtml | [EMAIL PROTECTED]
___|___


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]