Begining on Linux (using Java).

1999-03-12 Thread Flávio Eduardo de Córdova
Hi Guys       I'm using Java to create some simple apps and now I'm starting to use Linux as well.   I installed the new Java 1.2 (pre v1) release but I'm having some problems. That's all right when I try to run apps with character outputs (just System.out methods) only, but an exception occ

javacc

1999-03-12 Thread Stefan Lauterbach
Hi, of course the wrong list. But maybe one of the java wizards here on the list knows the answer: How can I get the actual line at the end of a rule in the Java Compiler Compiler (javacc) ? Thanks, -- Stefan Lauterbach[EMAIL PROTECTED] Priconet e.V.

Re: javac 1.2 a real pig

1999-03-12 Thread Nelson Minar
>The problem is that the jikes compiled code does not pass the >bytecode verify stage. If you run the same code under JDK 1.1 and it >works then you know for sure that that is the problem. Well, not exactly. You might also want to try runnign it with JDK 1.2 without verification. "oldjava" does t

Re: javac 1.2 a real pig

1999-03-12 Thread Moses DeJong
On Fri, 12 Mar 1999, Steve Cohen wrote: > Hani Suleiman wrote: > > > I use jikes with jdk1.2, the only snag is that you have to explicitly > > include rt.jar in your classpath. Also it will compile code that would not > > be passed by 1.2 javac. Sorry no specific code to demostrate this (and it

Re: javac 1.2 a real pig

1999-03-12 Thread Moses DeJong
I too have had some problem with jikes generated code with JDK 1.2. I think the problem is being worked on but perhaps more messages like "I can not run jikes compiled code under 1.2" will help get the bugs fixed. Joining the jikes mailing list is also a good way to keep up to date with jikes chan

Re: The question is: How can I read the /proc directory of other computers in an SNMP network using Java?

1999-03-12 Thread Nathan Meyers
Juan Carlos wrote: > > Really, is it the question. > > How to configure an SNMP Linux Network? I see it in an > Linux mailing list. > > Thanks for your attention. This is a Java-Linux mailing list devoted to the support of Java on Linux. The reason there are so many mailing lists in the

Re: Java class run locally, only

1999-03-12 Thread Maureen Lecuona
Then you must be sure the html archive object points to the correct jar files: archive = "/home/ferenczi/work/jdbcclasses.jar" And make sure your jar files are placed where the archive object says they are in connect.html. PS. Sean is right, this is not a java-linux question, so please try

Re: Java class run locally, only

1999-03-12 Thread zun
On Fri, 12 Mar 1999, Ferenczi Gyorgy Laszlo wrote: > Thanks for your quick response. I would like to clarify my problem. In > fact, the connetc1.html file can call the class, but the connection to the > database works only when called from the same directory. Where is your JDBC driver? Sounds

Re: Java class run locally, only

1999-03-12 Thread Ferenczi Gyorgy Laszlo
Dear Maureen, Thanks for your quick response. I would like to clarify my problem. In fact, the connetc1.html file can call the class, but the connection to the database works only when called from the same directory. Thnaks in advance George On Fri, 12 Mar 1999, Maureen Lecuona wrote: > Check

Re: Java class run locally, only PLUSS

1999-03-12 Thread Maureen Lecuona
HI: Does this happen both locally and in another path??? You must insure that you are loading the JDBC driver properly: For Oracle I use: DriverManager.registerDriver( new oracle.jdbc.driver.OracleDriver()); Something similar to this must be used for your JDBC driver. Maureen Lecuona Ferencz

Re: Java class run locally, only

1999-03-12 Thread Maureen Lecuona
Hi: Check the codebase in connect.html. Make it "/home/ferenczi/work". This works for me. Maureen Lecuona Ferenczi Gyorgy Laszlo wrote: > > Dear collegues, > > I created an applet, that is for connecting to the database Postgresql > which runs on the same server. > > I can successfully e

Java class run locally, only PLUSS

1999-03-12 Thread Ferenczi Gyorgy Laszlo
Dear collegues, In addition to my previous problem: On the netscape JAVA consol the next message appeared: java.sql.SQLException: No suitable driver java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:110) at java.sql.DriverManager.getConnec

Java class run locally, only

1999-03-12 Thread Ferenczi Gyorgy Laszlo
Dear collegues, I created an applet, that is for connecting to the database Postgresql which runs on the same server. I can successfully execute it with an appletviewer only if I invoke it from its own directory. E.g: the Class and the required HTML file are in the work directory: /home/ferencz

Re: javac 1.2 a real pig

1999-03-12 Thread zun
On Fri, 12 Mar 1999, Steve Cohen wrote: > I had previously thought the errors I was getting on execution were the > result of using jikes. But apparently not so. Once javac finished its > compilation, an identical exception occurred on executing the compiled > application: > > [scohen@stevecoh

Re: javac 1.2 a real pig

1999-03-12 Thread Steve Cohen
Hani Suleiman wrote: > I use jikes with jdk1.2, the only snag is that you have to explicitly > include rt.jar in your classpath. Also it will compile code that would not > be passed by 1.2 javac. Sorry no specific code to demostrate this (and it > would be long on the jikes mailing list anyways!)

Re: Anybody any idea?

1999-03-12 Thread Justin F Knotzke
[EMAIL PROTECTED] wrote: > > On Fri, 12 Mar 1999, Ferenczi Gyorgy Laszlo wrote: > > > I gotta problem: > > > > Wrote a nice cute java Applet that connects to a POSTGRES database, works > > fine with appletviewer. > > > > But!! > > > > If I wanna try to run in thru the web, it fails to conn

The question is: How can I read the /proc directory of other computers in an SNMP network using Java?

1999-03-12 Thread Juan Carlos
Hi friends, Really, is it the question. How to configure an SNMP Linux Network? I see it in an Linux mailing list. Thanks for your attention. JC _ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com -

Re: Anybody any Idea?

1999-03-12 Thread zun
On Fri, 12 Mar 1999, Ferenczi Gyorgy Laszlo wrote: > I gotta problem: > > Wrote a nice cute java Applet that connects to a POSTGRES database, works > fine with appletviewer. > > But!! > > If I wanna try to run in thru the web, it fails to connect Postgres must be running on the sa

Mounting problems...

1999-03-12 Thread Dinesh D
Dear sir, I have java (jdk1.1.6) installed on a machine(linux). I mounted that machine on another machine(linux) so that the all the files in the first machine could be accessed by the second. But, "javac" and "java interpreter"" don't run on the second machine. It says : Segmantation error occ

cannot open shared object

1999-03-12 Thread sgee
# java jfctest Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/jdk1.2/jre/lib/i386/libfontmanager.so: libstdc++-libc6.0-1.so.2: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) any ideas on correct

RE: Anybody any Idea?

1999-03-12 Thread John S Ra
Appletviewer is actually a pure Java Application. Hence no restrict. There is nothing wrong with the Linux JDK. Appletviewer works the same way for NT as well as UNIX. John > -Original Message- > From: Nathan Meyers [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 12, 1999 4:42 AM > To:

Re: Anybody any Idea?

1999-03-12 Thread Nathan Meyers
Ferenczi Gyorgy Laszlo wrote: > Wrote a nice cute java Applet that connects to a POSTGRES database, works > fine with appletviewer. > > But!! > > If I wanna try to run in thru the web, it fails to connect Is the DB server running on the same host that you're loading the applet from? Ap

Re: JacOrb & jdk1.2: NoClassDefFoundError: sun/tools/java/ClassPath

1999-03-12 Thread Juergen Kreileder
> Bruno Boettcher writes: Bruno> Hello, tryed to compile one of my projects using JacOrb and Bruno> run inton a problem... thought maybe i could solve it Bruno> recompiling jacOrb... but htere too the same problem Bruno> arises Bruno> Exception in thread "main" java.

Anybody any Idea?

1999-03-12 Thread Ferenczi Gyorgy Laszlo
Hy, I gotta problem: Wrote a nice cute java Applet that connects to a POSTGRES database, works fine with appletviewer. But!! If I wanna try to run in thru the web, it fails to connect I tried everything: gave full access to everyone ( all 0.0.0.0 0.0.0.0 etc) in the postgres

Re: javac 1.2 a real pig

1999-03-12 Thread Geoffrey T. Cheshire
On Fri, 12 Mar 1999, Steve Cohen wrote: > Is a 1.2-compatible jikes available yet? The jikes I used for 1.1.7 Yes. -- Geoffrey T. Cheshire <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: javac 1.2 a real pig

1999-03-12 Thread Hani Suleiman
I use jikes with jdk1.2, the only snag is that you have to explicitly include rt.jar in your classpath. Also it will compile code that would not be passed by 1.2 javac. Sorry no specific code to demostrate this (and it would be long on the jikes mailing list anyways!), but it had to do with me

JacOrb & jdk1.2: NoClassDefFoundError: sun/tools/java/ClassPath

1999-03-12 Thread Bruno Boettcher
Hello, tryed to compile one of my projects using JacOrb and run inton a problem... thought maybe i could solve it recompiling jacOrb... but htere too the same problem arises Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/java/ClassPath at jacorb.generator.Main.g

javac 1.2 a real pig

1999-03-12 Thread Steve Cohen
both time-wise and memory usage wise. I've had to boost the default heap size to 20 MB. (Possibly this is because I'm compiling with -verbose because I had to see what the heck was taking it so long.) Is a 1.2-compatible jikes available yet? The jikes I used for 1.1.7 seems to zip through the

Library problem

1999-03-12 Thread sgee
I would like to say first off, Thanks to the blackdown team for getting JDK1.2 ported. I finally got it installed last night and had no problems running it until I tried to implement some of the GUI libraries. Here is my code: import javax.swing.*; public class jfctest extends JFrame{

jar problem...

1999-03-12 Thread Bruno Boettcher
hello, since i pased to jdk 1.2 i have a problem with the jar command everytime i want ot use it to create an archive i get the error : Can't determine application home what's the meaning of this?? And what do i ahve to do to make my archives? ciao bboett ==

Re: Understanding 1.2 classpath

1999-03-12 Thread Juergen Kreileder
> Steve Cohen writes: Steve> I'm having a little difficulty understanding Java 1.2's Steve> classpath structure. Sun has a dcoument "Command Line Steve> Changes from 1.1 to 1.2". After reading it, I'm even more Steve> confused. For one thing, the Sun document mentions a fil

Understanding 1.2 classpath

1999-03-12 Thread Steve Cohen
I'm having a little difficulty understanding Java 1.2's classpath structure. Sun has a dcoument "Command Line Changes from 1.1 to 1.2". After reading it, I'm even more confused. For one thing, the Sun document mentions a file called rt.jar. I don't find an rt.jar. In the blackdown distribution

Re: Odp: jdk1.1.7 source

1999-03-12 Thread Brett W. McCoy
On Fri, 12 Mar 1999, Dariusz Dziuda wrote: > OK! And what about sources for building jdk1.2 (java 2). Java 2 > follows new Sun's licensing model. Does Blackdown make Jdk1.2 building > source available? I don't think the license allows it. You'd still have to get the sources from Sun and obtain

Odp: jdk1.1.7 source

1999-03-12 Thread Dariusz Dziuda
> Od: Uncle George <[EMAIL PROTECTED]> > Do: Dariusz Dziuda <[EMAIL PROTECTED]> > Temat: Re: jdk1.1.7 source > Data: 12 marca 1999 12:35 > > for this u should ask sun under their non-commercial license faq/document > gat > > Dariusz Dziuda wrote: > > > Hi! > > Are sources for building jdk1.1

jdk1.1.7 source

1999-03-12 Thread Dariusz Dziuda
Hi! Are sources for building jdk1.1.7 for linux available? DD -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: jdk1.2-pre-v1 on redhat 5.2

1999-03-12 Thread Gerrit Cap
At 16:48 11/03/99 -0800, Gabriel Montenegro wrote: >in case you're interested, we tested (briefly) the jdk1.2-pre-v1 >release on the following platform: > > redhat 5.2 > linux kernel 2.2.3 > >In order to get it to work we had to add the following symbolic link: > > cd /usr/lib >

Re: Font Problem with jdk1.2

1999-03-12 Thread Gerrit Cap
At 00:41 12/03/99 +0100, Willi Richert wrote: >Thanks, that did it for me. But now I get the error (for example running >java >Notepad in demo/jfc): > Look on the www.blackdown.org messages for a solution Marble Consulting -- Gerrit Cap

missing library - help

1999-03-12 Thread DJ Frost
Hi all, I have just installed jdk117-v1a, and i have a missing library so it won't run. It is called libXpm.so.4 Where could i get this from, i need it quite soon as i need to get java running over this weekend as i have a uni assignment to do ( a run length encoder ). When i have it it should

HOWTO: jdk1.2pre1 on Slackware or SOLVED: missing libstdc++-libc6.0-1.so.2 and missing fonts on Slackware

1999-03-12 Thread Gerrit Cap
If you want to run jdk1.2pre1 on Slackware it is not enough to run this command: g++ -shared -o /usr/lib/libstdc++-libc6.0-1.so.2 -lm If you do that you stiil get an unresolved __getfpucw in libm. Instead run: g++ -shared -o /usr/lib/libstdc++-libc6.0-1.so.2 -lm -lc That should do the trick.

Re: jdk1.2 api?

1999-03-12 Thread Thierry Kormann
Hi ! see : http://java.sun.com/products/jdk/1.2/download-docs.html Thierry. -- Kormann Thierry email: [EMAIL PROTECTED] http://www.inria.fr/koala/thierry/ Koala/Dyade/Bull @ INRIA - Sophia Antipolis -- To UNSUBSCRIBE,