How to convert .class file to .dll file

hi,
I got a problem, I have to convert my java .class file to .dll file. Microsoft VC++ program will invoke the converted .dll file.
Is there any other possibility.
I was confused.
Cam any body help me. If you are having solution for the can you send to my [email protected] account.
thanks,

No, it is not possible to do what you are suggesting. Yes, you could produce a DLL that wraps the JVM and loads your java class exposing a C and/or C++ callable interface, but that is a lot to go through unless your class is VERY complex. Otherwise, you might want to just create and maintain two implementations.

Similar Messages

  • How to convert java .class file to .dll file

    hi,
    I got a problem, I have to convert my java .class file to .dll file. Microsoft VC++ program will invoke the converted .dll file.
    Is there any other possibility.
    I was confused.
    Cam any body help me. If you are having solution for the can you send to my [email protected] account.
    thanks,

    No, it is not possible to do what you are suggesting. Yes, you could produce a DLL that wraps the JVM and loads your java class exposing a C and/or C++ callable interface, but that is a lot to go through unless your class is VERY complex. Otherwise, you might want to just create and maintain two implementations.

  • How to convert .class into .jar file

    Hi,
    How to convert .class into .jar file

    jsf_VWP5.5.1 wrote:
    Hi,
    How to convert .class into .jar fileFrom a command prompt, cd to the location of your .class file(s).
    If you want to create a simple jar, use: jar -cf Whatever.jar Whatever.class
    If you want to compile all .class files in a directory into a jar, use *.class instead.
    Now, I'm going to assume you want to create an executable jar... here's how to do that:
    1) Create a blank text file; for this example, lets call it main.txt.
    2) In the first line of main.txt, type: Main-class: Whatever ('Whatever' should be the name of the class in your program where the main() method is located)
    3) Press enter to go to the next line (someone please correct me if I'm wrong, but if you don't insert the line break/CR after the Main-class: statement, this will not work... in my experience, this is true)
    4) Make sure you save this file in the same directory as your .class file(s).
    5) Type: jar -cmf Whatever.jar main.txt Whatever.class
    ...and that's about it. For more information on the usage of the jar command and to understand the switches (such as -cmf), try jar --help.
    Hope that helps.

  • How to convert .class file to exec file...

    hi.
    how to convert .class file to exec file...
    please explain me clearly.....
    thanks...

    Placing your exact "question" into google:
    http://www.google.com/search?q=how+to+convert+.class+file+to+exec+file...

  • I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.

    I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.

    Hi Frank ,
    Please refer to the following link and see if this helps.
    https://helpx.adobe.com/acrobat/kb/error-organizer-database-damaged-reset-1.html
    Regards
    Sukrit Dhingra

  • How to run a remote windows dll files and the drivers of the system using j

    Dear Friends,
    I need some valuable info regd how to run a remote windows dll files and the drivers of the system using java
    reply regd thanking you

    Please don't make duplicate posts like this.

  • How to convert database table into xml file

    Hi.
    How to convert database table into XML file in Oracle HTML DB.
    Please let me know.
    Thanks.

    This not really a specific APEX question... but I search the database forum and found this thread which I think will help
    Exporting Oracle table to XML
    If it does not I suggest looking at the database forum or have a look at this document on using the XML toolkit
    http://download-east.oracle.com/docs/html/B12146_01/c_xml.htm
    Hope this helps
    Chris

  • Does anypne know how to fix the missing MSCVR80.dll file? Ive reinstalled itunes several timessysystem restores. Ive tried everything I can think of . Been sitting here all day and nightHELP!!!!!!!!!!!!!!!!!!!

    Does anypne know how to fix the missing MSCVR80.dll file? Ive reinstalled itunes several timessysystem restores. Ive tried everything I can think of . Been sitting here all day and nightHELP!!!!!!!!!!!!!!!!!!!

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Anyone know how to convert a 3D sphere .STL file into a .igs file?

    Anyone know how to convert a 3D sphere .STL file into a .igs file?

    And for what? Why? This would be kinda atrocious and awful, but weird things happen...
    Mylenium

  • Is it possible to compile/convert class/jars to DLL?

    Hi all,
    Is it possible to compile/convert class/jars to DLL so that my VB program can use it? If yes, how do i do it?
    thanks for your time.

    No it is not (afaik). But as far as the VB stuff goes, somebody who posted here earlier mentioned passing data to VB functions. Can't remember which post it was.
    One thing you can do is use sockets to send data between your Java code and VB application using sockets. Sockets are easy to use in Java, and in VB you just need to use the stuff in ws2_32.dll. You can find VB modules for sockets all over the place.
    Jason

  • Converting .class/.java/.jar files to .dll file

    I am trying to conver either class, java, or jar files into a dll so I can install my app onto a blackberry. Does anyone know how to do it? thx for your help.

    Dear friend,
    i too in the situation of converting java class to DLL, so that i can call java class from ASP.NET, if u know any third party control and solution, pls mail me:
    [email protected]

  • How to convert class file

    Hi all, I am new in java card development.
    This is my environment setting:
    @echo off
    set JC_HOME=C:\JavaCard\java_card_kit-2_2
    set JAVA_HOME=C:\j2sdk14103
    set PATH=.;%JC_HOME%\bin;%PATH%
    I have created the Wallet applet according to 'Zhiqun Chen" text book and named it WalletApp.java.
    I have compiled this file to a class file.
    This is where is I saved my file
    C:\JavaCard\java_card_kit-2_2\samples\src\com\sun\javacard\samples\WalletApp\WalletApp.java.
    But I don't really understand how to convert the class file.
    May I know what is this for?
    -out EXP JCA CAP
    -exportpath
    -applet 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1:0x1
    com.sun.javacard.samples.HelloWorld.HelloWorld
    com.sun.javacard.samples.HelloWorld
    0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1 1.0
    must save this in what file?
    I tried to type in the command line below (and the result):
    C:\JavaCard\java_card_kit-2_2\samples>converter -config scr\com\sun\javacard\sap
    les\Wallet\Wallet.opt
    error: file scr\com\sun\javacard\saples\Wallet\Wallet.opt could not be found
    Usage: converter <options> package_name package_aid major_version.minor_ver
    sion
    OR
    converter -config <filename>
    use file for all options and parameters to converter
    Where options include:
    -classdir <the root directory of the class hierarchy>
    set the root directory where the Converter
    will look for classes
    -i support the 32-bit integer type
    -exportpath <list of directories>
    list the root directories where the Converter
    will look for export files
    -exportmap use the token mapping from the pre-defined export
    file of the package being converted. The converter
    will look for the export file in the exportpath
    -applet <AID class_name>
    set the applet AID and the class that defines the
    install method for the applet
    -d <the root directory for output>
    -out [CAP] [EXP] [JCA]
    tell the Converter to output the CAP file,
    and/or the JCA file, and/or the export file
    -V, -version print the Converter version string
    -v, -verbose enable verbose output
    -help print out this message
    -nowarn instruct the Converter to not report warning messages
    -mask indicate this package is for mask, so restrictions on
    native methods are relaxed
    -debug enable generation of debugging information
    -nobanner suppress all standard output messages
    -noverify turn off verification. Verification is default
    *********************************************************May I know What is the correct command line to convert the class file and what must I do to before converting the class file?
    I saw some article saying we must use JDK1.3, is it a must?
    Your solution is highly appreciated.
    Thank you!

    Hi Ricardo,
    I saved the file below as WalletApp.opt in the directory of scr\com\sun\javacard\samples\WalletApp
    -out EXP JCA CAP
    -exportpath c:\javacard\java_card_kit-2_2\api_export_files
    -applet 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x2:0x1 WalletApp.WalletApp
    WalletApp 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x2 1.0
    But I still have the problem below:
    C:\JavaCard\java_card_kit-2_2\samples>converter -config scr\com\sun\javacard\sam
    ples\WalletApp\WalletApp.opt
    error: file scr\com\sun\javacard\samples\WalletApp\WalletApp.opt could not be fo
    und
    Usage: converter <options> package_name package_aid major_version.minor_ver
    sion
    OR
    converter -config <filename>
    May I know What's wrong with my command or file?
    Where can I download JDK because what I can find is J2SDK.
    Thank you!

  • How to convert class file into exe

    I have made a simple calculator using swing.now i want it to be used as an application from the desktop..How can i do it?..any suggestions?

    raghu0007 wrote:
    I have converted the class file to jar using jar cvf simplecalci.jar simplecalci.class.
    Now i don't know wat to do next since when i double click the jar.....windows shows the message
    Failed to load Main-class manifest attribute from c:\users\raghu\simplecalculator\build\classes\simplecalculator\simplecalci.jar
    I am using netbeans and i have JRE 5 as well as JRE 6 installed.
    I don't knw wat to do.Netbeans creates the .jar file for you,
    Simply right click on the project node in nb and select
    clean and buildnext goto the location of the project
    Eg:
    C:\Documents and Settings\raghu0007\My Documents\NetBeans Projects\SimpleCalculcator\dist\There will usually be 2 files in there, 1 for the Gui parts and the other(.jar) the rest.
    These two files must always be together (same directory for the jar file to work)
    copy the dist folder to C:\Program Files\, Rename it and create a shortcut to the simplecalci.jar file
    If you know the above just take a look at how you modified the MANAFEST file and the file(MF,class...) locations in the .jar
    For Windows XP
    Edited by: gtRpr on 2008/06/20 09:48

  • Converting .class file to .dll file

    Hi
    Can any body tell me what is the procedure for converting .class file to .dll(windows) file.
    Thanks,
    latif

    One way, You could produce a DLL that wraps the JVM and loads your java class exposing a C and/or C++ callable interface, but that is a lot to go through.
    Otherwise, if you are thinking of using Java class for .net applications you can
    use IKVM.NET to convert Java class to .NET dll. For this you can refer to:
    http://www.ikvm.net/userguide/tutorial.html

  • How to convert .class files to .java files

    Hi,
    I want to convert .class files to .java files. Is there is any software for that doing except Dj DCompiler? Because if i am using this i am not getting proper code i mean as it is available in the file.
    I tried by writing simple java file and i compiled Sample.java file and i got a .class file then i converted this Sample.class to Sample.java file by using DjDcompiler but i was missing some statements i need entire code that is available in Sample.java file. Please tell me any other software for that doing.
    Thank you in advance

    I want to convert .class files to .java files.
    iles. Is there is any software for that doing except
    Dj DCompiler? Because if i am using this i am nothttp://www.google.com/search?hl=en&q=java+decompiler&meta=
    getting proper code i mean as it is available in the
    file.I doubt you ever will.
    I tried by writing simple java file and i compiled
    Sample.java file and i got a .class file then i
    converted this Sample.class to Sample.java file by
    using DjDcompiler but i was missing some statements i
    need entire code that is available in Sample.java
    file. Please tell me any other software for that
    doing.Did you hear about "compiler opimizations"?

Maybe you are looking for

  • Apple TV sync finally working

    For what it's worth, I have finally figured out how to keep my ATV from crashing and rebooting during the sync process and also keep it in from disappearing from the device list in iTunes. Setup: I have a fully Apple homogenous setup: iMac with Snow

  • ANEP-ANBTR FIELD ADDITION IN 0PS_C04

    Hi All, I am working with 0PS_C04 cube and have developed a CAPEX report on top of it. Now further enhancement is required and i need to add a column based Asset Line Item ( ANEP table). I need to fetch values of field ANBTR from ANEP. Is there a sta

  • OBIEE 11.1.1.5 on Linux 64 Web Logic fails to start

    I have installed 11.1.1.5 on RHEL 5.4 64-bit and everything was running on first install. I brought down services and now when I try and start WebLogic, I get no failure and can start services but the EM and WebLogic URL's fail to load, but am able t

  • Unit of measure 309

    Hi, I have the following issue. 1.one material A is procure with UoM KG after the GR. 2.same material A require  material to material transfer posting (MB1B 309 )to convert as material B having with UoM KIA which is selling unit of measure. but in SA

  • External power button?

    My family wants to use my Powerbook (its screen is dying) in closed-lid mode with an external display. Is there any keyboard or other USB device with a power button that can start up my generation of Powerbook? 15" Powerbook G4 1.5 GHz   Mac OS X (10