<"Jay" <->> wrote:
> I've downloaded some Java files from the internet, and want to use them as a
> basis for a C# programme.
>
> They are .jar files, and when I open them in Notepad, they are not text
> files.
>
> Is there a way to get some sort of source code from them?
>
> Sorry if this sounds a bit basic, but I've never used Java before.
Well, you could decompile them - but to do so without the permission of
the author is somewhat unethical and could well be illegal depending on
the licence.
Basically, think of jar files as rough equivalents of .NET assemblies.
(It's not that straightforward, but basically they contain the compiled
classes, rather than being source files.)
--
Jon Skeet - <(E-Mail Removed)>
http://www.pobox.com/~skeet Blog:
http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too