Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Where do I get javareg.exe today?

 
Greenhorn
Posts: 4
IntelliJ IDE Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 233
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I emailed you the file.
Let me know if you didn't get it.
Gabe
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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

Thanks,
Giacomo
 
Rancher
Posts: 43027
76
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No. It only works with Microsoft's JVM, which has been obsolete for many years now. Some modern-day options can be found at https://coderanch.com/how-to/java/Java-FAQ#callingCom
 
Pippo Pippero
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 22568
122
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic