to know how functions
> > in so2.so can call functions in so1.so because jni will let us call back
> to
> > java app from so1.so.
> >
> > More information:
> > - the java app is multithreaded application using Thread.start().
> > - each java thread may call the sa
re), since Microsoft hasn't given
permission to Sun to use the Windows look & feel anywhere except
Windows.
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
=
thing setup so that the vm properly uses
> native_threads.
>
> Any suggestions?
>
> Thanks
> Mark DeLaFranier.
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscrib
------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
S
ng RG1 4HP United Kingdom California 94301 USA
> Tel: +44 118 958 7055 Tel: 650 688 0200
> FAX: +44 118 958 9005 FAX: 650 688 1054
> ===
> ** VISAJ AT http://www.ist.co.uk/visaj **
> =
v?'þSàÂ+ajË>?ç-¡ÿî?Ë>±ÊâmïÿNº.nWÿ
> ?íiËdj¹ÿnV??Ú0Yú+
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
==
Li
gt; > that does not appear to be so, at least, not on solaris - i installed
> > jdk1.2.1_04 and the client ran ok.
> >
>
> it also worked on linux when i copied the _Stub class to the client.
> so, why doesn't the server find the stub to return to the client?
>
ere I have to put it?
>
> Thank you,
>
> Jacob Nikom
>
> ------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PR
t;
> --michael moores
> tech leader, e-commerce
> Real Networks
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jef
gt;
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Jeff Galyan
http://www.anamorphic.com
http
Schröder, [EMAIL PROTECTED]
> ArtCom GmbH, Grazer Straße 8, D-28359 Bremen
>Voice +49 421 20419-44 / Fax +49 421 20419-10
>
> ------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubs
get no warnings but the
> component only will show question marks: ''. The warnings from
> the Blackdown JDK just tell you immediately that something might not
> work correctly.
>
This is, in my opinion, the correct way to handle it - let the user know
right away that somethi
file exist or not?
>
> Thank you,
>
> Jacob Nikom
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Jeff Galyan
http
then the
above will do the trick for you.
Incidentally, we recently published a book on JNI, called "The Java
Native Interface", by Sheng Liang. It's part of The Java Series from
Addison/Wesley, and I've found it to be an excellent reference (and I'm
pleased that we *fina
file.
This could be a bug in the VM; on the other hand, this could also be the
intended functionality. I don't know for sure since I'm not involved in
the Java security development.
--Jeff
Chris Abbey wrote:
>
> At 21:59 12/18/99 -0700, Jeff Galyan wrote:
> >Actually, th
blems went away. The permission thing seems real
> screwy to me.
>
Actually, that makes sense. Java 2 has a different security structure
than previous releases. If you took away permissions from the jre libs,
then you'd get that error.
--
Jeff Galyan
http://www.anamorphic.com
http
at were never answered, and so on. How about that JDK1.2.2... did you
> know it was coming? As far as I can tell, nobody else outside of
> Blackdown did (and, BTW, JBuilder3 requires 1.2.2).
>
> To quote Einstein (where did I see his name re
someone knows of any method for generating RPMs I might have a go
> myself.
>
> Thanks.
>
> James.
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
==
disregard all this, since the problem seems to have been discovered in
the unarchiving of the distribution
--Jeff
Jeff Galyan wrote:
>
> James,
>
> If you're using 'bash' as your login shell (the thingie that gives you a
> prompt - in DOS it's 'c
catch:
> you mustn't be in that directory when you run it. So... from some *other*
> directory, run:
>
> /usr/share/jdk1.2/bin/java
>
> (I'm assuming, per your previous postings, that your tree is installed
> at /usr/share/jdk1.2).
>
> I'm a lit
ctory structure of the Win32
> version of Java and expected to see the runtimes in jdk1.2/bin and as I
> didn't I hunted round until I did.
>
> Many thanks,
>
> James.
>
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot c
s Team
> phone - (817) 323-1300 ext. 2921
> e-mail - [EMAIL PROTECTED]
>
>
> Name: Tech Tools.gif
> Tech Tools.gifType: GIF Image (image/gif)
> Encoding: base64
--
Jeff Galyan
http://www
erent
> on
> Solaris, Windows or Linux?
>
> Also, "libXm appears to be statically linked into libawt.so" - does it
> mean
> that X modules were compiled and placed into libawt.so library, so in
> reality
> you call X, but you don't need to link with it?
>
&g
Java *always* requires Motif and X libraries. Even on Solaris. End of
story.
--Jeff
Carsten Hoeger wrote:
>
> On Sat, Oct 02, Jeff Galyan wrote:
>
> > Actually, libXm.so is Motif, which is required by AWT, and therefore
> > Java. You'll need to get a Motif distri
t; Braune Blaetter schmeissen sich vom Baum und sind tot.
> Es ist Herbst. (O. Kalkofe)
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTEC
lasses in your CLASSPATH.
Generally, you should not need to unpack the jar files, nor is it
generally a good idea to do so, as they frequently contain fairly
complex directory structures that, if altered, will cause the VM to not
be able to find the classes it needs.
--
Jeff Galyan
http://w
t of performance to expect.
> >
>
> Java is crossplatform, so, it is highly unlikely that a class package
> uses something so intel-specific (if it doesn't use JNI). However, the
> JVM *might* be smart enough to do such a thing.
>
--
Jeff Galyan
http://www.an
--
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman
t; > Riyad Kalla wrote:
> ...
> > > echo njdsptpgu tvdlt | tr [b-z] [a-y]
>
> It should have quotes around the [b-z] and [a-y] parts.
>
> Daniel
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
Try calling update().
--Jeff
> "Bern Rewel L. Mutia" wrote:
>
> Hi,
>
> I'm new to Java so please bear with me.
>
> I am resizing the length of the array of String elements in a JList
> inside a JScrollPane, but repaint() does not update my UI.
>
/usr/local/jdk/lib/i686/native_threads/libawt.so: undefined symbol: XtShellStrings
>(libawt.so)
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Cer
welcome.
>
> john
> --
> E-Mail: John N. Alegre <[EMAIL PROTECTED]>
> Date: 18-Jul-99
> Time: 09:13:51
>
> This message was sent by XFMail
> --
>
> -
hat i can't use the solaris files for swing. And also there is no
> > swing available for linux for earlier versions.
>
> I used Swing for JDK1.1.7 before switching to 1.2, you can find Swing for Linux
> from the blackdown page.
>
--
Jeff Galyan
http://www.anamorphic.
OTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
n
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Jeff Galyan
http://www.anamorphic.com
http://www.su
compiler options are as you would
normally use them ('-g' for debug, '-O' for optimization, etc.).
I also recommend reading the 'jdk1.2/include/jni.h' and
'jdk1.2/include//jni_md.h' files (where is your OS). The Java
Developers' Almanac has a nice section
the time, they don't even
get any kind of thanks or support from their users.
Frankly, I'm extremely impressed that they've come as far as they have
already, and with the quality that they've achieved (even for a
pre-release).
--
Jeff Galyan
http://www.anamorphic.com
http://ww
t downloaded the Swing for
> jdk117v3, and I just can't figure out how to install it correct. I
> moved all of the *.jar files to /usr/java/lib next to my class.zip.
> And I set the CLASSPATH="/usr/java/lib:./" What am I doing wrong?
> Well thanks in advance.
> Bri
find
> java/lang/Thread just means that the classes.zip isn't in the
> path or isn't valid (or you don't have permission to it, or
> wierd stuff like that)
>
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at a
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Jeff Galyan
http://www.anamorphic.c
>
> Thanks.
>
> Irfan
>
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
==
Linus Torvalds on Microsoft a
va for personal devices (palmtops, internet phones,
etc.), and is a superset (if I remember correctly) of EmbeddedJava (Java
for embedded systems).
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman
xperiment with different
settings. It seems to me that most folks usually use around 64 MB as the
max size. Your mileage may vary.
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
=
eciate any references I can get.
>
The book "Core Java WebServer" has just over half of its pages dedicated
to the Servlet API.
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talism
s working in Netscape by copying swingall.jar from the
standalone Swing 1.1.X release to Netscape's "java/classes" directory
(or whatever they're calling it these days).
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun do
wing has to do all of its own drawing and so forth, which is
why many people find Swing slow, and also may be related to the memory
usage you're seeing in the SwingSet demo.
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot
o next line ...
> ...
>
> Q: for this class I need to use FileReader - for read-in
>and FileWriter - for write-in ?
>
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programme
is a separate download. Get Swing 1.1.1 from
java.sun.com/products/swing (I think that's the right URL). Put the
swingall.jar in your $CLASSPATH and you're all set.
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot
rchive on
java.sun.com still has old code in it, as evidenced by the "com.sun"
package names for the Swing packages. Just remove both imports of the
preview package and you should have no problems with imports. Comb that
source file for methods that don't exist anymo
ry format file, writeUTF() and
readUTF() are useful as well. The writeObject() methods don't work well
for appending files, as they are object serialization methods and expect
a single object to be read/written per file. Appending objects onto one
another is likely causing the class ver
.metal.MetalLookAndFeel
>
Sounds like you're trying to run a Swing GUI app without an X server
running.
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamo
java ArrayTest
> SIGSEGV 11* segmentation violation
> stackpointer=0xbfffe328
>
> Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v1, native
> threads):
> "Finalizer" (TID:0x41081320, sys_thread_t:0x81c3368, state:CW,
Have you tried 'java -green
azzled with Sun's
Developer certification exam right now). Once you've got each message as
a String, you can writeUTF() into the new file and add the quotes at
each end.
I'm not sure how much processing you need to do on it, though.
--
Jeff Galyan
http://www.anamorphic.com
http:/
work latency?
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
==
Linus Torvalds on Microsoft and software development:
"..
ething useful
}
f.close();
Of course, you have to catch the possible IOException, so wrap that in a
try-catch block.
On a write, you can call flush() on the stream, then close the stream.
I don't know what tools there may be for finding out how many files are
open at a given
Jaco de Groot wrote:
>
> Hi,
>
> I'm using jdk1.2 pre-v1 on RedHat 5.2 for my servlets using
> Apache JServ. Every once in a while I get the following error:
>
> Too many open files in system
Make sure you're closing the files when you're don
must do ?
>
> Thanks.
>
> Irfan
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan
wing must at some level call on GUI elements that are
> coded not with Java but with a lower-level graphics library.
>
> Besides, Swing is still, well, SLOW. Especially on Linux. I have a
> Cel400 w/128meg, so it shouldn't be, but it is.
>
--
Jeff Galyan
http://www.anamorph
AWT on top of Swing sounds pretty interesting...
Netscape's IFC basically do everything on top of a Panel (faster than
Swing for many uses), so that's another alternative.
--Jeff
Michael Emmel wrote:
>
> Ulli Kortenkamp wrote:
>
> > >>>>> "Je
"Dipl.-Ing. Dr. Mustafa Radi" wrote:
> since Sun does not see, that Linux is becoming a competitive
> alternative to Microsoft's Windows
>
You clearly have not been paying attention to the news, have you?
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
j
ck it to the point where
> I can get it up and running on my dev box,
> since my target client platform is Windows anyway.
>
> Or is doing so illegal? :)
>
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
"The square root of " +
> number +
> " is " +
> Math.sqrt(number), 5, 50);
> }
> }
> [root@localhost java]# javac RootApplet.java
> RootApplet.java:3: Superclass com.sun.java.swing.JApplet of class
> RootApplet not found.
> public class RootApplet extends com.
, NT crashes way too frequently to be considered *alpha*
quality software, Microsoft's IDE produces binaries that simply will not
run on any platform except Win32 (again, proven in court)...
"NT is one of the best Java platforms around" ? What have you been
smoking?
--
Jeff Galyan
ng to
> work effektively on Win95 for a long time now without result... :-)
> Volker
>
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
That's a question you should pose to Sun.
Matthew Panetta wrote:
>
> Given that there are a few good windowing toolkit out now for linux (GTK,
> QT, JX) could the JDK be proted to these instead of useing mofit?
>
> Regards Matt
>
--
Jeff Galyan
http://www.anamorphic
>Name: launch~1.jav
>launch~1.javType: unspecified type (application/octet-stream)
>Encoding: base64
>
> Name: hello~1.jav
>hello~1.javType: unspecified type (application/octet-stream
r Balch
> Computer Science Department
> Carnegie Mellon University
> http://www.cs.cmu.edu/~trb
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EM
mail to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
there is no "-G" option to gcc. If you want to build
with debugging symbols, use the "-g" flag. Also add -shared and
-rdynamic to the command line to build a proper shared library.
/usr/lib/crt1.o is part of gcc.
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun
will only run on MacOS (just as the Windows look & feel only runs on a
Win32 machine), as the legal issues involved in making those look & feel
sets available on other platforms are unclear.
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot
Have you looked at NetBeans Developer? It's 100% Java, runs fairly well
(in terms of speed) in my experience, and you can download it free for
non-commercial development.
It's at www.netbeans.com
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at s
ection have been good.
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
==
Linus Torvalds on Microsoft and software devel
---
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at
stead of a .class file? I don't find
> any options for "javac" to achieve this. Where can I find such a compiler?
>
> Thanks in advance for any input.
>
> Chengyan
>
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot
ces SpiffyClass.java
For running, you just jar up all your classes and put that jar file in
/jre/lib/ext and everything works.
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
tali
com.sun.java.swing to javax.swing, for example)...
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
==
Linus Torvalds on M
---
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
> --
>
> Grace and peace to you from God our Father
>
cgi-devkit-2.1/doc/fastcgi-whitepaper/fastcgi.htm
>
> "FastCGI processes are persistent: after finishing a request, they wait
>for a new request instead of exiting."
>
> "FastCGI . . . multiplexes the environment information . . . [allowing]
>FastCGI progr
aps the Perl
> people will consider adding typing to the language (and indeed, they are
> doing so). Likewise, if I point out to Java people that Java's parsing
> capabilities are weak compared to Perl, perhaps they will add something to
> help with that. In the end, everone wins, becau
g();
> }
>
> }
>
> The C program is equally simple:
> #include "HelloNative.h"
> #include
>
> JNIEXPORT void JNICALL Java_HelloNative_greeting
> ( JNIEnv *env, jclass cl) {
> printf ( "Hello Native World" );
> }
>
> All of
unications API (I
haven't played with it myself), you should be able to use it with no
trouble at all. If there is any native code, and if it doesn't include
the sources, someone should arrange with Sun to port the native portions
of the package.
--
Jeff Galyan
http://www.anamorphic.com
h
82 matches
Mail list logo