Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 1996 20:03:12 +0800 (WST)
From:      Adrian Chadd <adrian@obiwan.aceonline.com.au>
To:        Troy Curtiss <troyc@sandy.merix.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Java binary support in FreeBSD ...
Message-ID:  <Pine.BSF.3.95q.960111200211.9925A-100000@obiwan.aceonline.com.au>
In-Reply-To: <troyc-9701272122.AA000125705@sandy>

next in thread | previous in thread | raw e-mail | index | archive | help
Yep, the linux binfmt_java.c file does this to check:

     if ((ucp[0] != 0xca) || (ucp[1] != 0xfe) || (ucp[2] != 0xba) ||
(ucp[3] 
!= 0xbe)) 
                return -ENOEXEC;

I'm looking at it now.

Adrian.


On Thu, 27 Feb 1997, Troy Curtiss wrote:

> 
> Does the Java VM bytecode have a magic number at the beginning of
> the file?  This would make it easy to detect (for the image activation
> stuff).  Just use a sysctl variable to point to the java VM executable
> and/or appletviewer??
> 
> --
>  /-----------------------------------------------------------\
> | Troy Curtiss, HW/SW Engineer | Email: troyc@merix.com       |
> | Merix Corporation, CL-302    | Phone: (970) 203-6643        |
> | Loveland, CO 80537           | Fax  : (970) 203-6610        |
>  \-----------------------------------------------------------/
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.960111200211.9925A-100000>