Discussions
Categories
- 197K All Categories
- 2.5K Data
- 546 Big Data Appliance
- 1.9K Data Science
- 450.8K Databases
- 221.9K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 552 MySQL Community Space
- 479 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.1K ORDS, SODA & JSON in the Database
- 555 SQLcl
- 4K SQL Developer Data Modeler
- 187.2K SQL & PL/SQL
- 21.4K SQL Developer
- 296.3K Development
- 17 Developer Projects
- 139 Programming Languages
- 293K Development Tools
- 110 DevOps
- 3.1K QA/Testing
- 646.1K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 158 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.2K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 19 Java Essentials
- 162 Java 8 Questions
- 86K Java Programming
- 81 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 205 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 468 LiveLabs
- 39 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 175 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 233 Portuguese
PDF to .Doc or Docx converter by core java using standard JDK

661723
Member Posts: 839
Hi
is it possible to convert a PDF file to .doc and .docx by standard JDK or JRE library without using any thirdparty library?if it is can anyone give me any pointer class reference to start the thing.I need core JAVA function who will simply accept a .pdf file and convert it to .doc.
kind regards
Edited by: no one on Oct 3, 2011 12:17 AM
Edited by: EJP on 3/10/2011 16:20: typos/spelling errors
is it possible to convert a PDF file to .doc and .docx by standard JDK or JRE library without using any thirdparty library?if it is can anyone give me any pointer class reference to start the thing.I need core JAVA function who will simply accept a .pdf file and convert it to .doc.
kind regards
Edited by: no one on Oct 3, 2011 12:17 AM
Edited by: EJP on 3/10/2011 16:20: typos/spelling errors
Tagged:
Best Answer
-
no one wrote:No of course not. For two reasons you can reason easily for yourself
Hi
is it possible to convert a PDF file to .doc and .docx by standard JDK or JRE library without using any thirdparty library?
- If it is possible with core Java, why would anyone ever want to write the third party libraries as well?
- Why would core Java need to deal with proprietary file formats?
There are hundreds of file formats in existence, should core Java be able to deal with all of them? No, of course not. It is silly to even expect such a thing.
Answers
-
is it possible to convert a PDF file to .doc and .docx by standard JDK or JRE library without using any thirdparty library?Only if you rewrite everything that is already in the third-party libraries that you refuse to use.if it is can anyone give me any pointer class reference to start the thing.Not within the realm of practicality.I need core JAVA function who will simply accept a .pdf file and convert it to .doc.There isn't one.
There are however third-party Java PDF libraries such as iText, and MS .doc libraries such as Apache POI.
What's the aversion? -
no one wrote:No of course not. For two reasons you can reason easily for yourself
Hi
is it possible to convert a PDF file to .doc and .docx by standard JDK or JRE library without using any thirdparty library?
- If it is possible with core Java, why would anyone ever want to write the third party libraries as well?
- Why would core Java need to deal with proprietary file formats?
There are hundreds of file formats in existence, should core Java be able to deal with all of them? No, of course not. It is silly to even expect such a thing. -
hi
so i need to download poi-bin-3.7-20101029.tar.gz from http://poi.apache.org/download.html and install it $JAVA_HOME/ext??
Any instruction for its usage??
kind regards
Edited by: no one on Oct 5, 2011 2:04 AM -
so i need to download poi-bin-3.7-20101029.tar.gzYou need to download the latest stable releasefrom http://poi.apache.org/download.htmlfrom wherever you download it fromand install it $JAVA_HOME/ext??Definitely not.* Install it whereever its instructions say, or at least on your CLASSPATH, and tell your IDE about it too.Any instruction for its usage??It comes with documentation. This is not an Apache POI help desk. You're asking all these questions in the wrong place.
-
Hi
context derived to discuss on Apache POI. If you wish you may discuss other related oracle API's too I won't mind either.
kind regards -
I don't know what any of that means but I'm trying to help you here. You should ask in a place where the relevant expertise is congregated, and this isn't it.
This discussion has been closed.