Re: Does Sun/JavaSoft support Java on Linux?

1998-10-24 Thread Steve Byrne

John Summerfield writes:
 > On Fri, 23 Oct 1998, Baron Roberts wrote:
 > 
 > > 
 > > Hi All,
 > > 
 > > I just read the java-linux FAQ but need to get a
 > > bit more clarification. As of today, does Sun/JavaSoft
 > > officially support Java and its APIs on Linux? I
 > 
 > No

John is speaking from his knowledge, which is understandably
not correct, as we haven't advertized the fact until now that
Sun has licensed the JDK 1.2 pre-release sources to the porting
team and that we are starting to work with the 1.2 port.  Being a
full licensee (just like IBM or that other large company) means that
we have full access to the JDK sources, updated on a regular basis,
as well as the Java Compatibility Kit, so that we can validate that
the Linux port is 100% Java Compatible.

 > 
 > > tried to follow the link in question 2.9 but was
 > > asked for a user ID and password.
 > > 
 > 
 > So register. Registration is free. It makes them happy.
 > 
 > You are welcome to report Java problems that are not specific to Linux. At
 > least. I feel as welcome there as anywhere on the www.

And for those that are specific to linux, you can file them at
www.blackdown.org's bug database (yes, the porting team does read them -- we
just came up with a fix for bug #233).

Steve



Re: Unsubscribed

1998-10-24 Thread Raul Perez

Many, many thanks!

Unsubscribed




Re: Does Sun/JavaSoft support Java on Linux?

1998-10-24 Thread Steve Byrne

[EMAIL PROTECTED] writes:
 > No, to everyone's disappointment, they do not.  Linux support is number 
 > one (by a friggin' huge margin--like six or seven to one) on the JDC bug 
 > parade at developer.javasoft.com, but as of yet (as far as I know) no 
 > official announcements have been made about Linux support.  Too much of a 
 > threat to Solaris, I guess.

That's not how they see it.  Remember JavaSoft != SunSoft.  They're not even
located in the same campus: JavaSoft is in Cupertino, with one of the buildings
directly across the street from Apple's main campus.  SunSoft is (I believe)
located in the Menlo Park complex, with the rest of Sun (well, the majority
anyway), about 20 or 30 minutes away by car.  SunSoft may indeed be interested
in protecting its Solaris asset; JavaSoft (as if I can speak for the whole
division) does not really care.   

Believe me, they *know* this is a big issue for the Linux community!  It's not
like they're unaware of it.  That's why the VP of engineering @ JavaSoft asked
me specifically if I could take the time to become the licensee for the 1.2 JDK
for the purpose of getting it ported to Linux, with the goal of releasing it as
near to the time when JDK 1.2 ships as possible.  Taking this one step is
extremely significant, and is way beyond what we've had in the past, where we
had to get source releases *after* the release became available, and then
scramble to make them work on Linux.  Now we have pre-release sources, and the
much coveted (as I mentioned in other messages) JCK.  Apart from having
physicial access to the core engineering team @ JavaSoft, there's not much more
that we could ask for.  And it preserves one of the hallmarks of the Linux
community: creating great things through volunteerism.  

 > > 
 > > Baron Roberts   Phone (650) 933-1653

Hey, Baron, didn't we use to work together in building 1?  Or maybe
that new one that I think was called 14? 

Steve



Re: Clipboard interaction between Swing/JDK and X11

1998-10-24 Thread jim watson

> [EMAIL PROTECTED] wrote:
>
> > Another another thing: Can anyone get a X11 selection, say from an XTerm or
> > Emacs and paste it directly into a JTextArea or JTextField? I cannot do it.
> > Is this Swing/JDK related or is it another XFree86 problem ?

Yes, this can be done  using a program called "xcutsel".

You would start it like this:

$ xcutsel -sel CLIPBOARD &

When you select some text in xterm or copy in emacs, the text is stored in
XA_CUT_BUFFER0 (see Xatom.h)

xcutsel provides for transfers between the cut buffer and the CLIPBOARD

The CLIPBOARD seems to be default for swing (i tested JTextArea) and is the one
returned by  AWT using Toolkit.getDefaultToolkit.getSystemClipboard. But AWT (I
have only tested TextArea) seems to use the cutbuffer.

You can watch things in the CLIPBOARD with xclipboard.

Interestingly Netscape 4.06 supports both the cutbuffer and the CLIPBOARD.  So
there must be a better way...

(i am using slackware 3.5)

jim watson






2D API

1998-10-24 Thread George Karabotsos

Hello,

I was wondering whether the 2D Api is supported by JDK1.1.6.
If not, do you plan to supported and when? 
If you do then could you tell me where it is.  From JavaSoft's docs it
should
be at java.awt.geom, and it is a core class.

Regards,

George



Re: 2D API

1998-10-24 Thread Juergen Kreileder

> George Karabotsos writes:

George> I was wondering whether the 2D Api is supported by
George> JDK1.1.6.  If not, do you plan to supported and when?  If
George> you do then could you tell me where it is.  From
George> JavaSoft's docs it should be at java.awt.geom, and it is a
George> core class.

Java2D is not part of Java 1.1, but it's a core API in the JDK 1.2.


Juergen

-- 
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802



CoffeeShop(java IDE)

1998-10-24 Thread Ryuji Yokoyama

Hello All!

Is anybody using CoffeeShop? please tell me con and pro about it. Is it
worth to spend $85?

Thanks in advance.



OOPSLA Java VM panel notes

1998-10-24 Thread Nelson Minar

I was at OOPSLA '98, the big yearly American object oriented
programming conference. It's mostly an industry conference, not
academic. This year there was a whole lot of Java stuff at the
conference, including a panel session headed by David Ungar on the
"new crop" of Java VMs.

These are my notes from that panel. It might be useful as pointers for
what some well known Java developers think is the way to go with the VM.
There's a note at the end about the lack of interest in a free Java VM..

The panel consisted of:
  David Ungar - Sun, Self project, now JVM development
  Lars Bak - Sun, Hotspot tech lead
  John Duimovich - IBM, VisualAge for Java
  Jesse Fang - Intel, working on Intel specific VM
  Scott Meyer - Oracle, working on Aurora (Java in Oracle DB)


The panel started out with short (15 minute) talks. I mostly just
copied stuff down from their slides. I put a (*) next to issues that
seemed particularly interesting.


Lars Bak - HotSpot architecture
  Adaptive Optimization
the standard HotSpot story - analyze running code, compile active stuff
  GC - generational collector. Exact.
first generation - copying collector
train generations - also copying
permanent generation - mark & collect
<10ms pauses for GC, at least up to 60-80MB cores
  (*) Fast Synchronization - minimize space & speed
Observation: all Java synchronization is block structured
Solution: put monitors in the activation.
Move object header word into monitor structure,
put forwarding pointer in obj
Advantage: stack allocated monitors, implict lock count, fast common case
  (From questions)
HotSpot footprint in JDK 1.2 is close to Symantic JIT's
HotSpot should support interactive development, but not in process now.

John Duimovich - VM in VisualAge for Java
  (From questions) - this VM is really for development only, not production.
  so it's a little slow. Can't be *too* slow though.
  (*) VM issues for advanced IDE Features (incremental development stuff)
Hot Method/Class replacement (semantic issues)
Multiple VMs in IDE address space (size/sharing issues)
Class File Sharing (no bytecode rewrite, per-VM optimization)
Code snippet execution - run and test bits of code live
Modify system on the fly.
In process debugging support
Metamodel underneath the IDE VM (???)
  32 bit object pointers, untagged primitive types
  Objects contain accurate GC type info (ie: where pointers are)
  12 byte headers for objects (wasteful, he says)
class, size, flags: writeable, hash, "shape", age, misc
  objects can be read-only and shared (critical to share between VMs)
  Two GCs: exact GC - all pointer locations are known
Global Garbage Collector (mark, sweep, compact)
Local Garbage Collector (generation scavenger)
  Mixed interpreted / JIT
  Green Threads - better control for debugging (??!!)
  JIT code de-optimizable
  VisualAge's JIT
"polymorphic inline caches"
optimized stack frame build
top of stack data flow / optimization
Don't inline stuff - not good for an IDE

Jesse Fang - Intel MicroComputer Research Lab
  (*) Big lesson: synchronization, JIT, GC are *all* important 
for Java performance
  Performance of implementation of JVM is hardware platform dependent
How do we make Java run bets on Intel hardware?
  (Specific note - floating point requirements of Java are a hassle)
  Different JITs and GCs for different applications
  Maybe different JVM implementations for different applications
server, small client, etc.
  Interested in OS independent systems.
  Needs better benchmarks for Java
Caffeine too small, SPECs not big enough for GC testing
too much emphasis on java.io and java.net

Scott Meyer - Oracle's Aurora JavaVM
  (*) They want to run 10,000 sessions, each with a Java VM
  JDK is a medium sized program - 3MB of text, 6MB of data
That'd be 60GB of data for 10,000 VMs. That's no good.
  10,000 threads.. (doesn't work)
  SQL integration, same address space
  Inside their server
a pool of worker threads (processes) that share everthing
memory durations
  call (lifespan of a pointer)
  session (possibly shared, data you have to keep around)
  global (shared, indefinite, often read-only)
  Implications of sharing
separate namespaces per session
Abstract references
  simple pointers don't work with shared memory
  so do some sort of relative offsets
  different representatios for the same class
Activation - support mostly immutable objects
No modifications to byte-codes after class load
  no quick-style optimization, dynamic optimization
  debugger uses "parallel interpreter"
  Memory management
Java heap is in call-duration memory
Classes, methods, etc are shared (activation to store static variables)
Static variables are stored in session space
"Standard" generational GC
  Implemented with MOSS, a Metaobject System
Closed universe

Re: applet and netscape

1998-10-24 Thread Dimitris Vyzovitis

I think that this is another netscape feature.
It doesn't prune applets already running in the virtual machine.
You must find a way of forcing it to restart the virtual machine (in my
experieence, shift+Reload didn't work as expected) by an ugly way :
restarting it ;-}
Georgios Y Lazarou wrote:

> Hi,
>
> I have the following problem with applets and netscape:
>
> Linux: slackware 3.5
> Java: jdk1.1.6.v2
> Netscape 4.07
>
> when I load for the first time one of applets in netscape everything
> is ok. Now, when I want to rerun or reload the same applet (an applet
> which plots a function), netscape don't do that. Instead, netscape
> redraws the same plot that was created in the first applet loading.
> When I change the applet code and compile it again, netscape doesn't
> reload the new applet, but again reloads the old applet from its
> cache. To load the new applet with the same name, I have to exit
> netscape and then start it again, and then load the new applet.
>
> How can I fix this problem?
>
> thanks
> Georgios

--
Dimitrios Vyzovitis  -- Information Processing Laboratory
[EMAIL PROTECTED] -- Aristotle University of Thessaloniki
[EMAIL PROTECTED] -- Dept. of Electrical and Computer Engineering
http://egnatia.ee.auth.gr/~dviz




begin:vcard
n:Vyzovitis;Dimitrios
x-mozilla-html:TRUE
org:Digital Lifeform?
version:2.1
email;internet:[EMAIL PROTECTED]
note:Even if I stop the clock, it's the right time twice a day
adr;quoted-printable;quoted-printable:;;Vas. Olgas 142=0D=0A=
	ICQ#8781929;Thessaloniki;;54645;Greece
x-mozilla-cpt:;0
tel;home:++30-31-817780
fn:Dimitrios Vyzovitis
end:vcard




Re: Does Sun/JavaSoft support Java on Linux?

1998-10-24 Thread John Summerfield

On Fri, 23 Oct 1998, Steve Byrne wrote:

> John Summerfield writes:
>  > On Fri, 23 Oct 1998, Baron Roberts wrote:
>  > 
>  > > 
>  > > Hi All,
>  > > 
>  > > I just read the java-linux FAQ but need to get a
>  > > bit more clarification. As of today, does Sun/JavaSoft
>  > > officially support Java and its APIs on Linux? I
>  > 
>  > No
> 
> John is speaking from his knowledge, which is understandably
> not correct, as we haven't advertized the fact until now that
> Sun has licensed the JDK 1.2 pre-release sources to the porting
> team and that we are starting to work with the 1.2 port.  Being a
> full licensee (just like IBM or that other large company) means that
> we have full access to the JDK sources, updated on a regular basis,
> as well as the Java Compatibility Kit, so that we can validate that
> the Linux port is 100% Java Compatible.

I maintain my earlier statement: Sun does not support the API on Linux,
just as Sun does not support in on OS/2.

Anyone with a problem specific to the Linux implementation should NOT
report their problems to Sun. An example of a problem Sun would not want to
hear about: "My program dumps core when..."

otoh if you try to extend  StreamTokenizer and find something in ints
implementaion is spastic, tell Sun.


Of course, the porting team has special access. It's fair to say that Sun
welcomes Java on Linux: it's politically to Sun's advantage to jave
bog-standard Java on as many platforms as possible.

I imagine Sun sees commercial advantage too: the more java apps there are,
the more software there is that runs on Sun boxes.


Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.



Re: CoffeeShop(java IDE)

1998-10-24 Thread John Summerfield

On Sat, 24 Oct 1998, Ryuji Yokoyama wrote:

> Hello All!
> 
> Is anybody using CoffeeShop? please tell me con and pro about it. Is it
> worth to spend $85?

Costs $0 to try. Only you can decide what it's worth to you.

Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.



Re: Applets, AWT and Netscape

1998-10-24 Thread Carlos Alberto Roman Zamitiz

I have this problem, too. I had done many applets since 1996 and it
succeded always. I have to close Netscape and start it again, but
Appletviewer works fine if I select "reload" in menu "file".

I have other problem: I done an AlertDialog, a child of Dialog, which is a
modal Dialog. I'm using Netscape 4.07 and my Linux box has 
"Linux_JDK_1.1.5_v7" but users can resize my AlertDialog.

Any suggestions? Thanks!

Carlos Alberto Roman Zamitiz
Departamento de Ingenieria en Computacion, Facultad de Ingenieria UNAM
[EMAIL PROTECTED]

On Sun, 25 Oct 1998, Dimitris Vyzovitis wrote:

> I think that this is another netscape feature.
> It doesn't prune applets already running in the virtual machine.
> You must find a way of forcing it to restart the virtual machine (in my
> experieence, shift+Reload didn't work as expected) by an ugly way :
> restarting it ;-}
> Georgios Y Lazarou wrote:
> 
> > Hi,
> >
> > I have the following problem with applets and netscape:
> >
> > Linux: slackware 3.5
> > Java: jdk1.1.6.v2
> > Netscape 4.07
> >
> > when I load for the first time one of applets in netscape everything
> > is ok. Now, when I want to rerun or reload the same applet (an applet
> > which plots a function), netscape don't do that. Instead, netscape
> > redraws the same plot that was created in the first applet loading.
> > When I change the applet code and compile it again, netscape doesn't
> > reload the new applet, but again reloads the old applet from its
> > cache. To load the new applet with the same name, I have to exit
> > netscape and then start it again, and then load the new applet.
> >
> > How can I fix this problem?
> >
> > thanks
> > Georgios
> 
> --
> Dimitrios Vyzovitis  -- Information Processing Laboratory
> [EMAIL PROTECTED] -- Aristotle University of Thessaloniki
> [EMAIL PROTECTED] -- Dept. of Electrical and Computer Engineering
> http://egnatia.ee.auth.gr/~dviz
> 
> 
> 



Re: Does Sun/JavaSoft support Java on Linux?

1998-10-24 Thread Carlos Alberto Roman Zamitiz

Sun supports the API on Solaris and Win32, only.
Is it correct?

Now, if I have a problem with Netscape 4.0.X (where X<7) which has Java
Console JDK 1.1.2 but applets compiled with JDK1.1.3 don't work. Only with
JDK 1.0.2 my browser works correctly but I compiled them, JDK returns
warnings because my methods are deprecated.

Who should I report this problem? With javasoft or Netscape?

Carlos Alberto Roman Zamitiz
Departamento de Ingenieria en Computacion, Facultad de Ingenieria UNAM
[EMAIL PROTECTED]

On Sun, 25 Oct 1998, John Summerfield wrote:

> I maintain my earlier statement: Sun does not support the API on Linux,
> just as Sun does not support in on OS/2.
> 
> Anyone with a problem specific to the Linux implementation should NOT
> report their problems to Sun. An example of a problem Sun would not want to
> hear about: "My program dumps core when..."
> 
> otoh if you try to extend  StreamTokenizer and find something in ints
> implementaion is spastic, tell Sun.
> 
> 
> Of course, the porting team has special access. It's fair to say that Sun
> welcomes Java on Linux: it's politically to Sun's advantage to jave
> bog-standard Java on as many platforms as possible.
> 
> I imagine Sun sees commercial advantage too: the more java apps there are,
> the more software there is that runs on Sun boxes.
> 
> 
> Cheers
> John Summerfield
> http://os2.ami.com.au/os2/ for OS/2 support.
> Configuration, networking, combined IBM ftpsites index.
> 
> 



Where can I download netscape source code?

1998-10-24 Thread Chi-Ming Yang

Hi there,
Where can I download netscape source code?


Thanks

-
Free e-mail group hosting at http://www.eGroups.com/



Re: Where can I download netscape source code?

1998-10-24 Thread Michael Doherty

Try http://www.mozilla.org/

Chi-Ming Yang wrote:
> 
> Hi there,
> Where can I download netscape source code?
> 
> Thanks
> 
> -
> Free e-mail group hosting at http://www.eGroups.com/