delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3FFF2951.3040308@nationwide.com> |
Date: | Fri, 09 Jan 2004 17:21:05 -0500 |
From: | Moy Easwaran <easwarm AT nationwide DOT com> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
CC: | Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> |
Subject: | Re: Problem with JVM 1.4.2 on Cygwin 1.5.5-1 on XP and 2000 |
Igor Pechtchanski wrote: > Technically, since you're using -mno-cygwin, this is not a Cygwin > problem. Thanks for the quick reply, Igor. You're right: it doesn't seem like a cygwin problem at all; more like a problem talking to Sun's jvm.dll (which was presumably built with MSVC), but (a) I'm using the Cygwin toolkit to built it, and (b) I figured I'd get better advice on the Cygwin lists because of the expertise talking to Microsoft- and related objects "from outside." > Where is this jvm.dll coming from? From Sun's Java SDK (http://java.sun.com/j2se/1.4.1/download.html). $ which jvm.dll java.dll /cygdrive/c/j2sdk1.4.1_06/jre/bin/client/jvm.dll /cygdrive/c/j2sdk1.4.1_06/jre/bin/java.dll > > EXPORTS > > JNI_CreateJavaVM AT 12 > > Are you sure you got the right argument patterns here (i.e., numbers after > the '@' sign)? That may be one source of the problem. I just copied it straight from inonit.com (and it worked on NT 4.0 and XP Home). And JNI_CreateJavaVM takes three pointers as arguments (which is what the patterns denote, right?), so 12 bytes seems right. > > options[0].optionString = "-Djava.class.path=c:\\test"; > > Shouldn't this also contain a pointer to the default class libraries? Shouldn't it know where the defaults are? And if they're necessary then it shouldn't work on NT or XP-Home either. Moy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |