Doubt Import - Newbie

Forum sobre a ferramenta Oracle JDeveloper, ADF, OAF, etc. (Não é destinado ao aprendeziado da Linguagem Java em geral)
Post Reply
User avatar
dr_gori
Moderador
Moderador
Posts: 5024
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

Hello everyone

I have at the beginning of my class something like this:

Select all

import com.sun.java.util.collections.HashMap; 
import java.io.*; 
import java.sql.SQLException; 
import java.util.Hashtable; 
import java.util.Properties; 
import oracle.apps.fnd.common.AppsContext; 
import oracle.apps.fnd.common.MessageToken; 
import oracle.apps.fnd.common.EnvironmentStore; 
import oracle.apps.fnd.common.VersionInfo; 
import oracle.apps.fnd.cp.request.CpContext; 
import oracle.apps.fnd.cp.request.LogFile; 
import oracle.apps.fnd.cp.request.OutFile; 
import oracle.apps.fnd.cp.request.JavaConcurrentProgram; 
import oracle.apps.fnd.framework.OAException; 
import oracle.apps.fnd.framework.OAFwkConstants; 
import oracle.apps.fnd.framework.server.OAApplicationModuleImpl; 
. 
. 
. 
Question:
I imagine I need to have All these classes locally on my machine to compile the program, right?

Where do I get all of them? (I saw that in an EBS directory I can download them ... but I have to download all the directories tree?
:(
victorhugomuniz
Moderador
Moderador
Posts: 1396
Joined: Fri, 01 Feb 2008 2:06 pm
Location: Rio de Janeiro - RJ
Contact:
:D

so .. rsrs

Select all

oracle.apps.fnd.framework.server.OAApplicationModuleImpl
oracle.apps.fnd.framework.server = Each item of this and a paste that possibly will be within the JAR
= Class


Yes You need to have all classes in physical files on your PC To compile

Usually the JAR files can be located on folders "lib" inside the directory of the product that you installed ..

Just set the PATH of the lib folder in your classpath environment variable
User avatar
dr_gori
Moderador
Moderador
Posts: 5024
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

It worked, I downloaded a 500mb zip of server libs :-)

DAI stopped output import problem. Now something I paniced: the classes have version, and they do not accept younger. I love Java :-d


The complicated is that here in the company there is no one from Java to guide in these problems of Environment / Installation. Probably I'm doing any insignificant nonsense -> I do not know what it is: - /
victorhugomuniz
Moderador
Moderador
Posts: 1396
Joined: Fri, 01 Feb 2008 2:06 pm
Location: Rio de Janeiro - RJ
Contact:
:D

this big download there that screwed you ..
he can even solve his problem because it has everything .. but the ideal and only have what you really will use .. and still has problems of versions ..

Are you doing a Java stored right?
These imports would be of which product?

You can, Via Winrar, navigate inside the Jar to see if you have the class that you need to import and the correct path of the packages ..

put everything is happening a conflict of versions ...

the most difficult you already know ... where to put .. missing to know what to put ..

Work like this ..

Select all

oracle.apps.fnd.common.AppsContext
I take the jar and inside it .. Look for the Oracle folder
inside the Oracle folder will have an Apps folder
and then an FND folder
and then give your imports will vary between
Common, CP, Framework

I believe ... that you need only 1 jar and that should not be big .. put only it in your classpath

good luck
User avatar
dr_gori
Moderador
Moderador
Posts: 5024
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

Solution:

I discovered that each version of Oracle EBS has to have a jdeveloper patch.

Here Neses Link explains well how to install correctly: http://keithturley.wordpress.com/2009/0 ... developer/
Briefly, you need
* Consult the exact version of the EBS you are using ( In my case: 12.0.6)
* Consult in Metalink Note 416708.1 to know which patch to download.

After that, everything went quietly.

Thanks Bróder
(let's move this topic to jdeveloper né)
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests