How to convert a .class file?!!
sorry guys,
but I've a question in knowing the code of some file,
I've zipped file, when I unzip it, it contains an html page with a .class files
(passing parameters to applet)
my problem is that I want to know the code of the .java file (which is not included)
but the program is working well, coz I have the .class file,
so, can I convert this .class file into a java file, so its java code could be readable (to understand it)
thanks in Advance :)
sorry man, but Can't u send me a specific link for downloading this "Java decomplier"
coz I found my self in something called (jad decompiler) with lots of versions and this is confusing
and Is that mean, that there's a decompiler which can convert the .class file into .java one?
and thanks alot man.....u help me always!
(I'm still begginner in java)
Similar Messages
-
How to convert java class file version without decompiling
Hi,
Oracle R12.1.3 i am having illegal access error while try to access the class file version Java 1.3 uses major version 47,So how to convert the class file version without using decompiling.
Current java version is 1.6.0_07
Is there any tool or API for converting class file version?
Thanks,
Selvapandian TBeside this I wonder where you get your error from since AFAIK 12c comes with java 1.6.
Well wonder no more!
OP isn't using Oracle 12c database.
They are using Oracle R12.1.3 - which is the E- Business Suite. -
How to convert a class file to exe file and how to cteate a class file to d
how to convert a class file to exe file
Hi Bhaskarq,
Hi,
It is not at all possible.
But it is a really worst method.
Please go through it.
This is a very common question asked in the comp.lang.java newsgroup. Its often useful to have an
executable application when deploying your
applications to a specific platform, but remember to
make your .class files available for users running
Unix/Macintosh/other platforms.
Microsoft provide a free system development kit (SDK),
for Java, which includes the jexegen tool. This
will convert class files into a .EXE form. The only
disadvantage is that users need a Microsoft Java
Virtual Machine (JVM) installed. If your target
platform is Win32, you can either redistribute the
virtual
machine, or raise the level of your system
requirements, to include Windows 98, or Windows 95
with
Internet Explorer 4. Systems matching these
requirements will already have a copy of the Microsoft
Java Virtual Machine installed.
Note : You must specify all of the class files your
application needs (except for standard java packges)
as a parameter, so if you have third party libraries,
you'll need to include them as well. You can use wildcards * though, and you don't need the original source code.
Also please see this Forum which will give a good idea
http://forum.java.sun.com/thread.jsp?forum=31&thread=149733
I hope this will help you.
Thanks
Bakrudeen
Technical Support Engineer
Sun MicroSystems Inc, India -
How to Convert a .class file into exe
I need to convert a .class file to exe...
If abybody know ...plz infrom me briefly....
Thanx a lotI do not know.
I come from china.
[email protected]
Is that suppose to be a racial joke?From his other post, I'm thinking he's actually serious. At first I thought it was just a troll, but even that email address looks correct (sina.com is a popular service in China and I don't expect an average troll to do 'research' like that). -
How to convert a .class file into .java file without .jad using DeJDecompil
Hi all,
I am using DeJDecompiler and working with swing applications.If I try to convert a .class file into .java file,it is converting into .jad file only.Fine but if I try to save that file into .java file,It is giving lot of errors in that program.When I went into that program the total style of the program is changed and TRY-CATCH block is not recognised by the dejdecompiler,hence If I try to include some methods in the existing .java file thus got,I could not do.Kindly help me.
If I get the .java file without error then I can process the rest of the functionality.
Thanks in advance
With kind Regs
Satheesh.KNot so urgent today then!
http://forum.java.sun.com/thread.jsp?thread=553576&forum=31&message=2709757
I'm still not going to help you to steal someone�s code. -
Hi Everybody,
I want to convert back a .class file (a compiled servlet) into .java (source code) file. How do I do it???
Note using javap has not been of any help.
Thanks in Advance
RajibWhy don't you look at this thread:
http://forums.java.sun.com/thread.jsp?forum=31&thread=143500
If thats not enough, try searching all the forums for:
"convert .java .class" That'll give yu a bunch of other threads...
Sjur -
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.
-
Any 1 know how to convert a class to jar??
How to convert a class file to jar executable file??
Here's a jar tutorial.
http://java.sun.com/docs/books/tutorial/deployment/jar/index.html -
How to convert the javasource file(*.class) to execute file(*.exe)?
thank you!Although i have seen a few programs (that are platform specific) that will embed a small jvm into an exe with your class file, it is generally excepted that you cannot create an executable file using java. The JAR executable file is probably the closest your going to get
Pete -
How can I convert a class file to Exe file
hai
How can I convert a class file to Exe filePlease search the forums before asking questions - this has been answered hundreds (really!) of times.
-
HOW TO CONVERT A XML FILE TO HTML FILE FORMAT IN WINDOWS APPLICATION
Hi iam a fresher iam working on a project in that i should convert the data in xml file to html file. I dont have any idea regarding this can anyone help me how to convert the xml file to a html file format. I just written the code till how to read the xml
file. Now i stucked how to write the code for converting to html format.
Thanks and Regards,
Dileep.Hi iam a fresher iam working on a project in that i should convert the data in xml file to html file. I dont have any idea regarding this can anyone help me how to convert the xml file to a html file format. I just written the code till how to read the xml
file. Now i stucked how to write the code for converting to html format.
Thanks and Regards,
Dileep.
Hello,
For converting xml file to html, we could refer to the way shared in the following thread which uses an XSLT stylesheet to transform the XML into another format using the
XslTransform class.
http://www.codeproject.com/Articles/12047/How-to-Convert-XML-Files-to-HTML
Regards.
Carl
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Again,HOW to conver a .class file into .java one?
sorry , but Can't u send me a specific link for downloading this "Java decomplier"??
coz I found my self in something called (jad decompiler) with lots of versions and this is confusing
and Is that mean, that there's a decompiler which can convert the .class file into .java one?
and thanks alot man.....u help me always!
(I'm still begginner in java)Just to emphasise what yawmark said...
Decompiled java code is NEVER going to be as clear as well-written original java source code. The decompiler can see what the compiled code does but not why or what it means, so the source code that the decompiler produces is going to be ugly and hard to read. Decompilers are really only useful for experienced programmers who know what to infer, how to read between the lines...
If you need help writing something, then you're better off looking at tutorials. In tutorials the code will be well-commented. -
How to convert from xml file to html using java code
How to convert from xml file to html file using java code
Get yourself Apache Xalan or Saxon or some XSLT processor
String styleSheet = "/YourXSLTStylesheet.xsl";
String dataSource = "/YourXMLDocument.xml";
InputStream stylesheetSource = TransformMe.class.getResourceAsStream(styleSheet);
InputStream dataSourceStream = TransformMe.class.getResourceAsStream(dataSource);
OutputStream transformedOut = new FileOutputStream("filename.html");
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer(new StreamSource(stylesheetSource));
transformer.transform(new StreamSource(dataSourceStream), new StreamResult(transformedOut));You'll also need to learn XSLT if you don't already know that. Here's a good place to start
http://www.w3schools.com/xsl/ -
Converting a class file to a dll
Hai please help me..
I am trying to convert my .class file to a .dll file.
This is my java code:
public class DateFunctions {
public int getTimeInSeconds(int i){
return i;
public int addNumbers(int i, int j) {
return (i+j);
public static void main(String[] args) {
DateFunctions df=new DateFunctions();
df.getTimeInSeconds(
Created class file DateFunctions.class.
Created jar DateFunctions.jar using:
jar cvf DateFunctions.jar DateFunctions.class
Generated dll file using bimp tool like this (Visual J# .NET tool):
jbimp DateFunctions.jar /t:library
I got the file: DateFunctions.dll
Now loaded this dll into my code (say, TSL code in WinRunner) using load_dll("DateFunctions.dll");
When I try to access the method like:
j=getTimeInSeconds(int i);
I am getting the error RPC error.
Note: DLL is loading fine. but while accessing the functions I am getting the RPC error..
What could be the reason..?
Please help...?
Thanks,
SatishYour answer lies in the documentation for WinRunner and whatever else is calling the DLL.
Certainly Java JNI has requirements for DLLs called from Java: They have to be C++ bindings that use the native header that Java generates, right?
So now you need to look at the requirements for your WinRunner and make sure that the program translating your .class file to a DLL does it in a such a way that the bindings WinRunner expects are indeed there.
But none of that has anything to do with Java. If your Java class compiles and tests successfully, then your questions about Java are satisfied. You have to figure out what WinRunner needs and what's missing from what you supplied.
% -
Does anyone know how to convert an XML file to a readable file?
All,
I have been using an APP called "SMS Backup & Restore" to backup my message conversations to my Laptop PC. It works fine BUT the backup file, once in my PC, has an XML extent such as "filename.XML"
I would like to read and/or print and/or save the text message file so does anyone know how to convert the XML file to something else so it shows all the messages without all the formatting instructions.
When I try to see the XML file it shows all the formatting. If I replace the .XML with .TXT that too shows all the formatting mixed in with the text message narrative.
When I look at the XML file in SMS Backup & Restore in the Charge phone it looks great showing all the messages just as they were on the phones display. The problem with this is that there is no way to print or read or save the messages as they appear in the file from the phone itself. I tried screen capture but if you have, let's say, a 28 message conversation you have to do 7 or 8 screen captures to get them all.
If only I could convert the XML in my PC to something that is printable or savable or readable that would be the "cats meow."
Anyone know how???
JerryF
PS, You might take a look at my related post.
https://community.verizonwireless.com/message/809832#809832Ann154,
You were correct again. I deleted everything I had done to date and re-did the entire SMS backup of my 28 message conversation again and YES I was able to open it using IE-8. It looks great and it prints great and life is good! I am going to go make a donation.
Thanks again for the help. I marked this thread as answered by you.
JerryF
Maybe you are looking for
-
Does not Ipod Nano 4Gb and Itunes works yet width Windows Vista? Runs Vista Home prem and my computer dont finds any drivers for the ipod when i connect it, have the latest Itunes and firmware in the ipod. /p
-
Uploading photos from pc to iphone
I have photos & videos transfered from motorolla to my pc, how i tranfer them to my iphone.
-
Hello experts Is there a way to do this: get a table name as a string from a query and use it to define another variable For example: data: line TYPE RSDSSEG. select * from RSDSSEG into line where DATASOURCE = '/CW1/MMD01'. ENDSELECT. psatablename =
-
Moron Here.. Someone Please SAVE MY BEHIND!
I recently upgraded my video card to a ATI all in wonder 2006 256mb, which "forced me to upgrade" to Windows XP from 2000 pro. I had partitioned C: formated it and installed Windows XP on a clean drive.. knowing that ALL of my iTunes files were on a
-
Scanning to Acrobat 8.1.3
Acrobat 8.3.1, OSX 10.6.8. Create pdf > from scanner (Epson stylus photo Rx620), no devices are list from which to select; how do I solve this? NB. I've updated Epson drivers and scanning works with Preview, but would be more efficient via Acrobat.