Create a .jar of ExportCDF example
Hello,<BR><BR>I?m following the instruction that are into the ExportCDF.zip of Hyperion.com<BR><BR>it said that you would had to install the .jar file, but I don?t find this .jar file. I have found the .java files, so I guess that I will have to compile creating a .jar file.<BR><BR>Has anyone used this example??<BR><BR>Regards
Hi, I use ExportCDF function (@JExportTo) for 2 years. ExportCDF.jar file should be in ExportCDF.zip file.<BR>You have to copy it into $HYPERION_HOME/java/udf folder.<BR>Also it this zip-file there is ExportCDF_Readme.htm with detail instruction how to install this function.<BR><BR>If you need any assistance to install it, send me a email<BR><BR>Best regards,<BR>Georgy<BR>[email protected]
Similar Messages
-
After creating a jar, input parameter names not good
Hi,
jdeveloper 11.1.1.3
project a->create a util_a.jar
project b->properties/libraries->import util_a.jar
When I'm in project b and try to use a method of a class , jdeveloper doesn't show me the name of the parameters I wrote when creating that library
for instance Example.hello(String name)
In project b, the help popup just show me hello(String)
It is a problem when generating the jar from jdeveloper, since other external jars (from the Internet) display the parameter names (and in those external jars there is neither javadoc files, nor source code, just classes)
Where can I configure the creation of a jar file containing the original names of the parameters and not p1, p2, etc)?
ThanksImagine in the jar:
public class Message{
public static void send(String text,String from, String to){...}
and now, in the other project you have
Message.send(String p1, String p2,String p3); (in help popup) -
Hi everyone
I have a RMI application functioning ok but I want to create a jar file to deploy in two computers.
How do I create a jar file from RMI files?
RegardsAre you shure?No, I am sure. Did you have some reason for believing I'm wrong?
Do you have an example?Yes.
I saw this link:
http://java.sun.com/docs/books/tutorial/rmi/compiling.html
it explains a part of what you say.Exactly. So why are you asking me whether I'm sure?
Please gave a look to itWhy? I already know the answer. -
Unable to create Executable JAR file
Hi,
I tried to create Executable JAR file for
//JarTest.java
class JarTest
public static void main( String args[] )
System.out.println("i am EXECUTABLE JAR ");
mf is like
Manifest-Version: 1.0
Main-Class: JarTest
used jar cmf JarTest.mf exe.jar *.classIt created a jar file but i can't Execute the file
Help me
Thanks
AEjava is choosy about the actual manifest file format (line ending, trailing empty line, whatever).
This works for me with your example:
posman@proli:~/ivan/aa> cat mf
Manifest-Version: 1.0
Main-Class: JarTest
posman@proli:~/ivan/aa> od -cx mf
0000000 M a n i f e s t - V e r s i o n
614d 696e 6566 7473 562d 7265 6973 6e6f
0000020 : 1 . 0 \n M a i n - C l a s s
203a 2e31 0a30 614d 6e69 432d 616c 7373
0000040 : J a r T e s t \n \n \0
203a 614a 5472 7365 0a74 000a -
I have a package called voiceexpert which contains three classes: Disease, DiagnosingEngine and Symptoms which is a JavaBean. Symptoms makes use of Disease and DiagnosingEngine objects.
voiceexpert is stored in the directory: c:\diagapp3
I compiled Symptoms.java as below:
c:\diagapp3> javac -d . Symptoms.java
The class files for Disease.java, DiagnosingEngine.java and Symptoms.java are placed in the directory: voiceexpert.
I created a Manifest.txt file inside c:\diagapp3 containing the following:
Main-Class:voiceexpert.voiceexpert.Symptoms
Name:voiceexpert/Symptoms.class
Java-Bean:True
I later created the jar file with the command:
jar cfm jjj.jar Manifest.txt voiceexpert\*.*
But, I am having the error message: "*invalid header field*".
What can I do to remove this error?
Note: I created the Manifest.txt using utf-8 encoding. My code is to be used in a third-party application and that is why it does not contain a main method.
The link I was referred to could not help me. I need help please!
Edited by: Adeyi on Feb 24, 2010 2:26 AM
Edited by: Adeyi on Feb 24, 2010 2:34 AMAdeyi wrote:
..I created a Manifest.txt file inside c:\diagapp3 containing the following:
Main-Class:voiceexpert.voiceexpert.Symptoms
Note: I created the Manifest.txt using utf-8 encoding. My code is to be used in a third-party application and that is why it does not contain a main method.Why are you specifying a main-class when the API has none?
The link I was referred to..What link? Just imagine for the moment that the Internet is a big place and we are not psychic. -
My macbook seems to be going crazy. At certain points (and for hours) I get the oh snap page on chrome, safari doesnt work, macbook wont let me create any files or for example upload music to itunes. I restored my mac so im sure its not a malware problem. The only thing that solves it is switching off and on , but sometimes I have to do that for 6-7 times before its ok or wait for a few hours. Some help please
Please read this whole message before doing anything.
This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
Step 1
The purpose of this step is to determine whether the problem is localized to your user account.
Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
Test while logged in as Guest. Same problem?
After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
*Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
Step 2
The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
Test while in safe mode. Same problem?
After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2. -
Creating a JAR in Eclipse...can't access files in the JAR properly.
Hi all! I'm a newbie at JAR creation, and am having troubles. I have a project that loads images from image files in my project. I can create the JAR and all, and it runs, but the buttons that have ImageIcons with those IO loaded images are blank. I've tried to include the images when creating the JAR, but it keeps acting like the images never existed. When I run the JAR and have the images separately included in the directory (instead of packing them up too), it won't work as well...UNLESS those images are put in my $HOME directory (Linux).
Does anyone know how I can properly refer to the images that I'm trying to pack into the JAR from within the JAR? Or, is there a way for the JAR to understand where those images are supposed to be (redirect the focus from the $HOME directory to the JAR's directory)? Any help would be greatly appreciated! :)
-KeithHi,
Can the user execute the program through explorer? In Windows Server 2003, the Users group does not have Read and Execute permissions to the command processor (Cmd.exe).
You could refer to the article below to resolve the issue:
"Access is denied" error message when you run a batch job on a Windows Server 2003-based computer
http://support.microsoft.com/kb/867466
Best Regards,
Mandy
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. -
Problem in Creating a jar file using java.util.jar and deploying in jboss 4
Dear Techies,
I am facing this peculiar problem. I am creating a jar file programmatically using java.util.jar api. The jar file is created but Jboss AS is unable to deploy this jar file. I have also tested that my created jar file contains the same files. When I create a jar file from the command using jar -cvf command, Jboss is able to deploy. I am sending the code , please review it and let me know the problem. I badly require your help. I am unable to proceeed in this regard. Please help me.
package com.rrs.corona.solutionsacceleratorstudio.solutionadapter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.jar.JarEntry;
import java.util.jar.JarOutputStream;
import java.util.jar.Manifest;
import com.rrs.corona.solutionsacceleratorstudio.SASConstants;
* @author Piku Mishra
public class JarCreation
* File object
File file;
* JarOutputStream object to create a jar file
JarOutputStream jarOutput ;
* File of the generated jar file
String jarFileName = "rrs.jar";
*To create a Manifest.mf file
Manifest manifest = null;
//Attributes atr = null;
* Default Constructor to specify the path and
* name of the jar file
* @param destnPath of type String denoting the path of the generated jar file
public JarCreation(String destnPath)
{//This constructor initializes the destination path and file name of the jar file
try
manifest = new Manifest();
jarOutput = new JarOutputStream(new FileOutputStream(destnPath+"/"+jarFileName),manifest);
catch(Exception e)
e.printStackTrace();
public JarCreation()
* This method is used to obtain the list of files present in a
* directory
* @param path of type String specifying the path of directory containing the files
* @return the list of files from a particular directory
public File[] getFiles(String path)
{//This method is used to obtain the list of files in a directory
try
file = new File(path);
catch(Exception e)
e.printStackTrace();
return file.listFiles();
* This method is used to create a jar file from a directory
* @param path of type String specifying the directory to make jar
public void createJar(String path)
{//This method is used to create a jar file from
// a directory. If the directory contains several nested directory
//it will work.
try
byte[] buff = new byte[2048];
File[] fileList = getFiles(path);
for(int i=0;i<fileList.length;i++)
if(fileList.isDirectory())
createJar(fileList[i].getAbsolutePath());//Recusive method to get the files
else
FileInputStream fin = new FileInputStream(fileList[i]);
String temp = fileList[i].getAbsolutePath();
String subTemp = temp.substring(temp.indexOf("bin")+4,temp.length());
// System.out.println( subTemp+":"+fin.getChannel().size());
jarOutput.putNextEntry(new JarEntry(subTemp));
int len ;
while((len=fin.read(buff))>0)
jarOutput.write(buff,0,len);
fin.close();
catch( Exception e )
e.printStackTrace();
* Method used to close the object for JarOutputStream
public void close()
{//This method is used to close the
//JarOutputStream
try
jarOutput.flush();
jarOutput.close();
catch(Exception e)
e.printStackTrace();
public static void main( String[] args )
JarCreation jarCreate = new JarCreation("destnation path where jar file will be created /");
jarCreate.createJar("put your source directory");
jarCreate.close();Hi,
I have gone through your code and the problem is that when you create jar it takes a complete path address (which is called using getAbsolutePath ) (when you extract you see the path; C:\..\...\..\ )
You need to truncate this complete path and take only the path address where your files are stored and the problem must be solved. -
How to create a .jar file for the BPEL project
hi all,
how can i create a .jar file for my BPEL project, i am trying to deploy the project but getting an error :
"Error: [Error ORABPEL-10902]: compilation failed [Description]: in "C:\OraBPELPM\integration\jdev\jdev\mywork\Workspace_BPELDemo\BPEL_Report\BPEL_Report.bpel", XML parsing failed because "". [Potential fix]: n/a. "
and when doubel cliking on this error Jdev take me to the beginning of the ".bpel" file.
I 'm really stuck in here i am not able to deploy the process!
Thanks,
RanaRana:
If you haven't already, I would post this question in the BPEL forum. I would expect a much better turnaround there.
Johnny Lee -
How to create a .jar file in wlcs3.1
hello friends,
hi friends, im working on weblogic commerce server3.1 . i dont know how to create a .jar file in weblogic commerce server3.1. can any one knows send email to me.
thanks.
hari$JDK_HOME/bin/jar (%JDK_HOME%\bin\jar) shows you the syntax
where JDK_HOME is your jdk installation directory.
Kumar
hari wrote:
hello friends,
hi friends, im working on weblogic commerce server3.1 . i dont know how to create a .jar file in weblogic commerce server3.1. can any one knows send email to me.
thanks.
hari -
How to create a jar file which is in the remote system?
Hi,
I have a set of files that resides in a remote system,which have to be "jar"red. I have a firewall in between. I want to create a jar file out of the files situated in the remote system.How do i go about this process.?Hi,
You can't do that in a simple way. You need to have a port open in the firewall, and you need to have a server process on the remote machine.
Kaj -
How can I create a jar file at a Unix systems?
Hi there,
how what's the command to create a jar file in Unix? I'm creating a zip file and then renaming it to jar, but it's size is smaller than the one when I use the WinZip tool at a Windows system.
Thanks,
AndreOops,
it very easy to do. Just use the jar -cvf command
Andre -
Can any body help me in creating a jar using Weblogic server tool
I have created the class files of the container manged bean successfully.I want to create the jar file using the weblogic tool.
I have created a new jar file and now I have to add a bean class file and a home class file to it.In the tool I choose a the path using the choose button.When I say next it complaints that it cannot locate the bean files.
Can any body please help me soon..
waiting for your reply.I had similar problems with the WLS deploy tool. I think they were solved by making sure that I started the tool from the directory that contained the root package of my EJBs.
It might work... -
Exception while creating a jar file for bean
Friendz,
I am getting this error whenever i tried to create a jar file.
I am using win 98 os and jdk1.4 please tell me what error it is
C:\bean\programs\spectrum>jar cfm a.jar manifest.mft spectrum.class
java.io.IOException: invalid header field
at java.util.jar.Attributes.read(Attributes.java:355)
at java.util.jar.Manifest.read(Manifest.java:162)
at java.util.jar.Manifest.<init>(Manifest.java:52)
at sun.tools.jar.Main.run(Main.java:124)
at sun.tools.jar.Main.main(Main.java:904)
Contents of manifest template file:
Name:spectrum.class
Java-Bean:TrueManifests are saved with the .mf file extension. Rename your manifest mainfest.mf.
-
Creating a JAR using JDIC PROBLEMS in creating a JAR!!!
Hi
I am trying to work with JDIC APIs in my Java application. I wish to open a browser on clicking a button in my application which uses Java Swing.
I included the location of the JDIC.jar in my class_path under environmental variables in Windows.
However, despite that I am having to compile using the classpath option with javac.
After compiling using javac, I again have to run it using java and the classpath option.
I am now trying to create a jar of my application including the JDIC.jar as well.
However I am unable to do this successfully.
Since this is my first time working with a 3rd party API orher than the standard Java API, I am stumbling about and would GREATLY appreciate some guidanceHi
Thanks a lot!
I got SOME response!!!
Well okie..
I have the JDIC library at C:\jdic-0.9.1-bin-cross-platform
with the jar at C:\jdic-0.9.1-bin-cross-platform\jdic.jar
My application is at
C:\VDApp
The packagename is GeneViewer
So I am doing the following
C:\VDApp> javac -classpath DOT; C:\jdic-.....\jdic.jar GeneViewer\MainClass.java
C:\VDApp>java -classpath DOT;c:\jdic.....\jdic.jar GeneViewer.MainClass
I am trying to create a jar as follows
C:VDApp> jar cmf manifest.mf GeneViewer.jar GeneViewer C:\jdic...\jdic.jar
The manifest.mf file contains 1 line
Main-Class: GeneViewer.MainClass
Although the jar file is created successfully, when I try to run it, it doesnt run properly. It throws that error message. cannot find /org/etc etc...
All those hierarchy exist only in C:\jdic-0.9.1-crossplatform....
Please guide me further
Thanks
Maybe you are looking for
-
Get Selected Items from ListBox
Hi, How do I get the Selected items of a List in Flex. I am using a multi-select List. Thx
-
Can receive mail using comcast but not using mail on ipad
I can receive and send mail using my comcast app but can only receive mail using the mail app but not send.
-
lately my computer has randomly shut down. i just moved from boston to nebraska. i moved my computer in its original box and thought it was pretty safe. everything seems to be working fine except for this. the computer can be on for hours or not even
-
Is there Windows application to convert PDF to Keynote format?
I want to convert power point files so they can be viewed on the ipad. There are Mac pdf to Keynote converters avaialble, but I want to be able to convert my power points on my PC to key note format and then email or itune sync them to my ipad for u
-
Task assignment adapter - dynamic route to either group or user
I have configured an approval process in design console and I want to be able to dynamically route the approval request to either the target user manager OR a group. I have written logic/code to automatically determine what group or user to route the