Error when i try to execute a program on my Mac
Hi,my program work very well on my Pc with xp,but when i try to execute it on my mac(with macosx tiger)the compiler gives me this error:
java.net.BindException: Permission denied
maybe it is a permisson error,root/user or buh?
this program runs on port 440....can u help me?
You can choose a higher port, above 1024. Or run the program as root like this:
sudo java your.classname.here ...
Similar Messages
-
Runtime error when i try to execute this program
I get a runtime error when i run this file using appletviewer. Please help me in getting out of this problem.
The runtime errror is:
C:\prashanth>appletviewer HelloMedia.java
java.lang.NoClassDefFoundError: javax/media/ControllerListener
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:142)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:373)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:579)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at java.lang.Thread.run(Thread.java:484)
The code is :
<applet code=HelloMedia.class width=500 height=400>
<param name=FILE value="globe.avi">
</applet>
import java.applet.*;
import java.awt.*;
import java.net.*;
import javax.media.*;
public class HelloMedia extends Applet implements ControllerListener
Player player;
public void init()
setLayout(new BorderLayout());
String mediaFile = getParameter("FILE");
try
URL mediaURL = new URL(getDocumentBase(), mediaFile);
player = Manager.createPlayer(mediaURL);
catch(Exception e)
System.err.println("Exception : " + e);
player.addControllerListener(this);
public synchronized void controllerUpdate(ControllerEvent event)
if(event instanceof RealizeCompleteEvent)
Component compVisual = player.getVisualComponent();
Component compControl = player.getControlPanelComponent();
if(compVisual != null)
add("Center", compVisual);
if(compControl != null)
add("South", compControl);
validate();
public void start()
player.start();
public void stop()
player.stop();
player.deallocate();
public void destroy()
player.close();My classpath has the following value
.;.;.;C:\PROGRA~1\JMF21~1.1\lib\sound.jar;C:\PROGRA~1\JMF21~1.1\lib\jmf.jar;C:\Program Files\CosmoSoftware\CosmoPlayer\npcosmop211.zip;%systemroot%\java\classes;.;
Please help me out.
Prashanth -
Java error when I try to execute runInstaller
Hi all,
Someone can tell me why I get this error when I try to execute the runInstaller script ?
echoes:/temp/Disk1$ ./runInstaller
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-05-13_09-29-09PM. Please wait ...echoes:/temp/Disk1$ Oracle Universal Installer, Version 10.1.0.3.0 Production
Copyright (C) 1999, 2004, Oracle. All rights reserved.
Exception java.lang.UnsatisfiedLinkError: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libawt.jnilib: occurred..
java.lang.UnsatisfiedLinkError: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libawt.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:545)
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:189)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:173)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:182)
at oracle.sysman.oii.oiic.OiicInstaller.<init>(OiicInstaller.java:278)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:714)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)
Exception in thread "main" java.lang.NoClassDefFoundError
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:189)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:173)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:182)
at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:112)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:772)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)
I'm trying to install the 10g db on a PowerMac G5 with 4 gig ram, OSX 10.4.9 with all the latest patches.
The oracle user shell config is the following :
=====================================
ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1
ORACLE_SID=mydb
export ORACLE_BASE ORACLE_SID ORACLE_HOME
if [ $DYLD_LIBRARY_PATH ]
then
DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$ORACLE_HOME/lib
else
DYLD_LIBRARY_PATH=$ORACLE_HOME/lib
fi
HTDOCS=/usr/local/htdocs
export DYLD_LIBRARY_PATH HTDOCS
PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:$ORACLE_HOME/bin
export PATH
PS1='\h:\w\$ '
export PS1
alias l='ls -la'
alias svrmgrl='sqlplus /nolog'
================================
Thanks in advance,
MaxIs the Oracle runInstaller message telling me that it wants IBMJava2 -1.3.1, even though is says to install 1.3.1 or higher?Yeah, it has been known to act a bit funny on newer releases of JRE.
~Jer -
"File not found" error when I try to render an animated menu (on mac) Encore CS4
I'm making a dvd with at least 2 animated menus. It means that I have a 1 movie in the background of each menu. Over my background, I have 3 thumbnail buttons which contain a small piece of movie animated movie too. When I try to to view my menus, in order to see the animation in the background and in the thumbnails I need to render the animation through File - Render - Motion menus.
The problem is that it works for the first menu but then when I continue my navigation to the second menu that has animation in background and thumbnails too, if I choose Render Motion menus,after 3/4 of the rendering it says "file not found" even if all the files are well in place in their folders.
Does anyone would have an idea of how to resolve this stupid problem that prevents me to burn my project on a DVD since the same errors will appear during the burning process (I use a mac with Encore CS4). Is it a bug? What are the solutions? Thanks for answering.
Steven.SteveDVD,
The use of the .WMV was because that was part of the Library .EM template. I would not anticipate problems with other formats, so long as they are supported and the same for all of your Menus in the Project.
If you have done several Motion Menu Renderings, you might want to clear Encore's Media Cache, just in case it is still referencing previous Render files.
And yes, the re-Importation should yield the same result as Linking/re-Linking.
Unfortunately, I do not have CS4, so I can't test this for you. There do seem to be a few real Bugs in the various CS4 programs, and maybe this is one?
That "File Not Found" rings a bell in my feeble brain. Seems that there was a post on that, but I do not remember it being related to Motion Menus. Maybe search will yield something of use.
Good luck,
Hunt -
I get an error when i try to execute a function that returns a date value
Hi,
I'm new in ODP.NET, i'm make a package that contains a function that returns a date i.e.
Package Body General_pkg is
Function Get_Day Return Date is
vd_day date;
Begin
select sysdate into vd_day from dual;
return vd_day;
end Get_Day;
End General_pkg;
i use the next code to execute the function:
OracleCommand cmdData = new OracleCommand("General_pkg.Get_Day", cnx);
cmdData.CommandType = Commandtype.StoredProcedure;
OracleParameter PRM;
PRM = new OracleParameter();
PRM.ParameterName = "VDATE";
PRM.OracleDbType = OracleDbType.Date;
PRM.Direction = ParameterDirection.ReturnValue;
cmdData.Parameters.Add(PRM);
try
cmdData.ExecuteNonQuery();
catch(OracleException e);
When i execute this code, i have and exception, which say "identifier GENERAL_PKG.Get_Day must be declare..."
Obviously the package is correctly created in ORACLE i tested first in sql plus and it works but in ODP.NET they don't recognize the package or the function i don't know... please help!!!OOOOOPSS.... i forgot that i change the user in my conecction string that's why it didn't work...
i guess i had to much beer last night.;. :)
thanks. -
I have been using Elements 12 without a problem for 9 months. Now when I try to open the program, I get an error message "Adobe Photoshop Elements 12 quit unexpectedly" and it will not open at all. What can I do to open the program?
Thank you for responding. Nothing actually worked! After reading the posts online, I called Apple. They indicated they have seen problems with some software after their upgrades. The technician was able to fix the problem on my computer remotely, but I have no clue what he did! But, it was definitely related to their recent upgrade to my computer.
-
When i try to execute web report i am getting a error your not authorized t
Hi all,
when i try to execute web report i am getting a error your not authorized to view the page can somebody help me regarding this.
Thanks
Kiran KumarHi
Once you get the error, without leaving that screen, execute transaction /nsu53 or ask your basis guy to check it for you.
You will get details of missing authorization.
Regards
Rahul -
When I try to execute any workflow I get the error "Something went wrong.."
Hello,
Last weekend I updated the servers farm and I executed "SharePoint 2013 products configuration wizard" But I had an error and the wizard showed this: Conpleted configuration settings will not be rolled back.
From this moment when I try to execute any workflow in one of my site collections I always get the error "something went wrong.." Then I was checking the logs and I saw this:
04/08/2015 08:12:18.82 w3wp.exe (0x1318) 0x2070 SharePoint Foundation
General 8nca Medium Application error when access /_layouts/15/IniWrkflIP.aspx, Error=Requested
registry access is not allowed. at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) at Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue)
at Microsoft.Office.InfoPath.Server.Util.UrlManager.<>c__DisplayClass1.<OpenFileNameMap>b__0() at Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.Office.InfoPath.Server.Util.UrlManager.OpenFileNameMap()
at Microsoft.Office.InfoPath.Server.Util.UrlManager..cctor() 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
04/08/2015 08:12:18.82 w3wp.exe (0x1318) 0x2070 SharePoint Foundation
Runtime 6616 Critical Requested registry access is not allowed. 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
04/08/2015 08:12:18.82 w3wp.exe (0x1318) 0x2070 SharePoint Foundation
General ajlz0 High Getting Error Message for Exception System.TypeInitializationException:
The type initializer for 'Microsoft.Office.InfoPath.Server.Util.UrlManager' threw an exception. ---> System.Security.SecurityException: Requested registry access is not allowed. at Microsoft.Win32.RegistryKey.OpenSubKey(String name,
Boolean writable) at Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue) at Microsoft.Office.InfoPath.Server.Util.UrlManager.<>c__DisplayClass1.<OpenFileNameMap>b__0()
at Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.Office.InfoPath.Server.Util.UrlManager.OpenFileNameMap() at Microsoft.Office.InfoPath.Server.Util.UrlManager..cctor()
--- End of inner exception stack tra... 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
04/08/2015 08:12:18.82* w3wp.exe (0x1318) 0x2070 SharePoint Foundation
General ajlz0 High ...ce --- at Microsoft.Office.InfoPath.Server.Util.UrlManager.GetConverterGeneratedFilePath(ConverterGeneratedFile
file, Document document) at Microsoft.Office.InfoPath.Server.SolutionLifetime.ScriptIncludes.RenderCssLinksToHeader(Control ctrl, Document document, Boolean ribbonEnabled, Boolean isDisplayMode) at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.TryToAddCssLinksToHeader()
at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.OnDataBindHelper() at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.WebParts.Part.DataBind()
at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at Sy... 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
04/08/2015 08:12:18.82* w3wp.exe (0x1318) 0x2070 SharePoint Foundation
General ajlz0 High ...stem.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean
raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at Microsoft.Office.Workflow.IniWrkflIPPage.LoadFromWorkflowAssociation() at Microsoft.Office.Workflow.IniWrkflIPPage.OnLoad(EventArgs ea)
at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean inc... 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
04/08/2015 08:12:18.82* w3wp.exe (0x1318) 0x2070 SharePoint Foundation
General ajlz0 High ...ludeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
But I cannot find any solution.
Please Help!Hello,
After some troubleshooting finally I opened a case to Microsoft, finally we solved the error:
I cleared the configuration cache:
http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx
With this I could execute the wizard without any problem and the problem was solved.
But if with this the problem is not fix, Apart from that, you can check this:
Apparently, Microsoft change the number version of the SP1, then if you have the first sp1 versión, you will have problems with the wizard because is looking for the newer version.
The first SP1 number version was:
15.0.4569.1506
The currently SP1 version is:
15.0.4571.1502
You can check your versión with this script:
http://blogs.technet.com/b/stefan_gossner/archive/2015/04/20/powershell-script-to-display-version-info-for-sharepoint-product-and-language-packs.aspx
Finally if you have the first version the solution is download SP1 again (newer) and install it again (it is not necessary unistall the currently SP1) When you finish, try to execute wizard again and everything will work fine.
Hope this helps! -
i have a button in a form that run on forms10g that tri to execute a report in the web :
the trigger is this
**** when i try to execute the button the error is that the is impossibile to find the "report ID"???
there is a easist solution to execute a report from a form button ????
thank's !
DECLARE
report_id Report_Object;
BEGIN
report_id:= find_report_object('imm_print_01');
PROCEDURE RUN_REPORT_OBJECT_LIST(report_id , 'repSRV' , 'pdf');
END;
the procedure run_report_object_list is the follow :
PROCEDURE RUN_REPORT_OBJECT_LIST(report_id REPORT_OBJECT, reportserver
varchar2,
runformat varchar2) IS
report_job_id VARCHAR2(100);
vc_rep_status VARCHAR2(20);
paramlist_id ParamList;
paramlist_name VARCHAR2(10):=âtmplistâ;
BEGIN
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,
SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,
reportserver);
paramlist_id:= get_parameter_list(paramlist_name);
IF NOT id_null(paramlist_id) THEN
destroy_parameter_list(paramlist_id);
END IF;
paramlist_id:=create_parameter_list(paramlist_name);
add_parameter(paramlist_id,âDESTYPEâ,TEXT_PARAMETER,âCACHEâ);
add_parameter(paramlist_id,âPARAMFORMâ,TEXT_PARAMETER,âNOâ);
add_parameter(paramlist_id,âdesformatâ,TEXT_PARAMETER,
runformat );
report_job_id:=RUN_REPORT_OBJECT(report_id,paramlist_id);
END;Please see that in your form you have created a "report object" with the same name ie "imm_print_01" . This is done using Forms builder in object navigator
(For forms-reports intg pls see "forms reports integration whitepaper" (link below)
[ All Docs for all versions ]
http://otn.oracle.com/documentation/reports.html
[ Publishing reports to web - 10G ]
http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
[ Building reports - 10G ]
http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
[ Forms Reports Integration whitepaper 9i ]
http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
--------------------------------------------------------------------------------- -
After downloading software for 123Cheese Photobook (Australia), when I try to open the program, i get: "Initialization error... Could not create the application support directory 'Macintosh HD:Library:Application Support:123 Cheese:'. Please help. The MacBook Pro is one day old.
ThanksHi, Im am also having this same problem,same message, trying to make a photobook with a non-refundable voucher. my Macbook pro is like 2 months old and im up to date with all of my updates.
What ended up happening with this problem for you because, Ive emailed cheese123 3 times and they haven't replied???
Can you help me? Thanx -
Error Code Ox8oo72ee4 - When I try to down load programs from Windows Store.
When I try to download any programs from the Windows Store, they will not open. The error code is 0x80072ee4.
I have tried several solutions short of re-installing Windows altogether. What should I do to remedy this problem? Thank you.
PS, I am running Windows 8.1Go to the Start Screen or the Windows Modern UI screen
Type in WSReset.exe
Click on Run as administrator
Once done now recheck the issue.
See also:
http://blogs.technet.com/b/joscon/archive/2012/09/26/fixing-component-store-corruption-in-windows-8-and-windows-server-2012.aspx
S.Sengupta, Windows Entertainment and Connected Home MVP -
Error when duble click on executable jar file
when duble click on jar file I get error message " Could not find main class . program will exit" , I am using jre 1.5_04,
when I runnig from command - java -jar ./myJar.jar --> works fine.
when I runnig from command - java -cp ./classes myUi --> works fine.
I get the error just when I try to execute the jar by duble click.
it some one knows what can be the problem??
Thanks
NirThe message bar says " The following disk image couldn't be opened"... As for reason... "Not recognized"
-
Get file not found error when I try to sync
I get file not found error when I try to sync Iphone.
SteveDVD,
The use of the .WMV was because that was part of the Library .EM template. I would not anticipate problems with other formats, so long as they are supported and the same for all of your Menus in the Project.
If you have done several Motion Menu Renderings, you might want to clear Encore's Media Cache, just in case it is still referencing previous Render files.
And yes, the re-Importation should yield the same result as Linking/re-Linking.
Unfortunately, I do not have CS4, so I can't test this for you. There do seem to be a few real Bugs in the various CS4 programs, and maybe this is one?
That "File Not Found" rings a bell in my feeble brain. Seems that there was a post on that, but I do not remember it being related to Motion Menus. Maybe search will yield something of use.
Good luck,
Hunt -
I get a runtime error when I try to open itunes, any help?
I get a runtime error when I try to open itunes, any help?
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 -
"unknown error" when I try to update my ipad
I get an "unknown error" when I try to update my ipad... no problem signing on at the website from a desktop, but can't update any programs or purchase any new ones in the apple store.
Go to Settings>Store >Apple ID, tap your ID and sign out. Then reboot the iPad, Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
Then go back to Settings>Store>Sign in and sign in again and see if the apps will update.
Maybe you are looking for
-
Sharing Music across computers
I know how to share music across different computers, but I can only play the music. Is there a way to be able to save the music on that computer? Think of it this way... Computer 1 has songs A,B, and C Computer 2 has song D Is there a way to transfe
-
Referencing currency fields in a view
When trying to unhide currency fields of a custom extractor in RSA6, we get an error saying 'OLTP source still has errors.' I believe the errors are associated with the unit/currency referencing of these key figures. How did you reference the key f
-
the other day when iOS8 came out i downloaded it onto my 5th generation iPod, it has been working perfectly fine since, now today when i left it for a couple of hours, it turned itself off and now it won't turn back on. i have tried charging it but n
-
Garage Band 4.1.2 on Power Mac G4 messed up
I had problems trying to change the tempo of the song, it always froze. So I tried to replace my Garage Band 4.1.2 with the same from my laptop that is an Intel one though. I guess that messed it up completely. Even if it doesn't show anything or doe
-
ICM with CVP, failed to find networktrunkgroup for trunkgroupid 200
Hi All, i am trying to build ICM with CVP. i have ICM and CVP on seperate box. all pims are active everything seems to be normal at my end but for some reason call is not working. when i dial the number on the vrupim i am getting a messge: Trace: VRU