File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Where do I get javareg.exe today? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Where do I get javareg.exe today?" Watch "Where do I get javareg.exe today?" New topic
Author

Where do I get javareg.exe today?

Sachin Petkar
Greenhorn

Joined: Apr 22, 2004
Posts: 4

There used to be a tool - javareg.exe - provided by Microsoft, which allowed you to register you Java code such that it could be called from VB, etc, via COM.
My question is - where is it now? I've searched through an installation of Windows 2000 Advanced Server & Visual Studio.Net 2003, all over the web and Microsoft's website. However, there seems to be no sign of it anywhere! If anyone has a copy of javareg.exe or knows a place where I may download it from, please let me know. My other option would be to convert my Java code to C# using the "Java Language Conversion Assistant" ... which I really don't want to do. Please help me save my Java !
Thanks,
Sachin
Gabriel White
Ranch Hand

Joined: Mar 02, 2003
Posts: 233
I emailed you the file.
Let me know if you didn't get it.
Gabe
Pippo Pippero
Greenhorn

Joined: Mar 28, 2011
Posts: 2
Hi,

I have the same problem (cannot find javareg.exe anywhere!). Could any of you kindly send it to me?

Thanks,
Giacomo
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
No. It only works with Microsoft's JVM, which has been obsolete for many years now. Some modern-day options can be found at http://www.coderanch.com/how-to/java/Java-FAQ#callingCom


Ping & DNS - my free Android networking tools app
Pippo Pippero
Greenhorn

Joined: Mar 28, 2011
Posts: 2
Thanks for the link; however, it looks like the FAQ there only answers the reverse problem (calling COM/DLL/ActiveX from within JAVA); I need the other way around... Any ideas?

Thanks!
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Last year I worked at a company where we had to make .NET code call Java code and vice versa. We used JuggerNET to do this. Beware however that there were some gotcha's to have it working correctly. It generates proxy classes with a tool and it doesn't always automatically exactly do what you want.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

JNI can not only be used to call non-Java code from Java, it can also be used to call Java code from non-Java code. It involves launching an internal JVM, loading the class and use its results.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
wood burning stoves
 
subject: Where do I get javareg.exe today?
 
Similar Threads
jsp table
Database cannot be connected
How to call Javascript function from an Application.
Run Java code ----- Online
Static Imports Error: Need help Ranchers.