完全难以理解这对某些人来说可能是显而易见的。我将我的Java应用程序打包到安装程序中(使用Izpack),安装完成后运行SongKong64.exe,它是使用Launch
创建的java文件的包装器。这不适合客户,他应该得到这样的东西:
debuglogfile is:C:\Users\Terrence\AppData\Roaming\SongKong\Logs/songkong_debug%u-%g.log
userlogfile is:C:\Users\Terrence\AppData\Roaming\SongKong\Logs/songkong_user%u-%g.log
17/02/2017 11.31.25:GMT:com.jthink.songkong.cmdline.SongKong:writeSystemInfo:SEVERE: SongKong 4.6 1070 15/02/2017 using Java 1.8.0_74 25.74-b02 64bit on Windows 10 10.0 amd64 initialized successfully
17/02/2017 11.31.25:GMT:com.jthink.songkong.cmdline.SongKong:writeSystemInfo:SEVERE: SongKong has been configured with minimum heap memory of 150 mb, maximum heap memory of 356 mb and maximum permanent memory of -32 mb
17/02/2017 11.31.26:GMT:com.jthink.songkong.cmdline.SongKong:writeSystemInfo:SEVERE: Username:Terrence:Domain:iPad-Laptop:RunningAsAdmin:false
17/02/2017 11.31.26:GMT:com.jthink.songkong.cmdline.SongKong:checkDatabase:SEVERE: Setting Db Folder:C:\Users\Terrence\AppData\Roaming\SongKong/Database
17/02/2017 11.31.26:GMT:com.jthink.songlayer.hibernate.HibernateUtil:createFactory:SEVERE: ----Initilizing Hibernate Session factory
17/02/2017 11.31.29:GMT:com.jthink.songkong.cmdline.SongKong:checkDatabase:SEVERE: Accessed Database okay
17/02/2017 11.31.32:GMT:com.jthink.acoustid.query.AbstractAcoustidQuery:performBasicSubmissionQuery:SEVERE: Posting to url:http://api.acoustid.org/v2//user/create_anonymous?format=xml&client=8XaBELgH
17/02/2017 11.32.47:GMT:com.jthink.songlayer.hibernate.HibernateUtil:closeFactory:SEVERE: ----Closing Hibernate Session factory
C:\Program Files\Jthink\SongKong>JVM64\bin\java -cp lib;lang -Xms150m -Xmx400m -jar lib/SongKong-4.6.jar
但取而代之的是
C:\Program Files\Jthink\SongKong>songkong64.exe
C:\Program Files\Jthink\SongKong>Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: launchCmd:"C:\Program Files\Jthink\SongKong\lib\SongKong64.exe" -g -m "%1"
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Looking For key
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.dsf /ve
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:HKEY_CURRENT_USER\Software\Classes\.dsf
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output: (Default) REG_SZ (value not set)
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\(value not set)
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeHKCU\Software\Classes\.dsf\shell\SongKong.Match
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.dsf\shell\SongKong.Match
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeExistsHKCU\Software\Classes\.dsf\shell\SongKong.Match
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.AddContextMenu addContextMenu
SEVERE: DSF:AddContextMenu:false
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: launchCmd:"C:\Program Files\Jthink\SongKong\lib\SongKong64.exe" -g -d "%1"
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Looking For key
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.dsf /ve
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:HKEY_CURRENT_USER\Software\Classes\.dsf
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output: (Default) REG_SZ (value not set)
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\(value not set)
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeHKCU\Software\Classes\.dsf\shell\SongKong.DeleteDuplicates
Feb 14, 2017 7:38:48 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.dsf\shell\SongKong.DeleteDuplicates
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeExistsHKCU\Software\Classes\.dsf\shell\SongKong.DeleteDuplicates
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.AddContextMenu addContextMenu
SEVERE: DSF:AddContextMenu:false
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: launchCmd:"C:\Program Files\Jthink\SongKong\lib\SongKong64.exe" -g -r "%1"
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Looking For key
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.dsf /ve
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:HKEY_CURRENT_USER\Software\Classes\.dsf
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output: (Default) REG_SZ (value not set)
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\(value not set)
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeHKCU\Software\Classes\.dsf\shell\SongKong.UndoChanges
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.dsf\shell\SongKong.UndoChanges
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeExistsHKCU\Software\Classes\.dsf\shell\SongKong.UndoChanges
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.AddContextMenu addContextMenu
SEVERE: DSF:AddContextMenu:false
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: launchCmd:"C:\Program Files\Jthink\SongKong\lib\SongKong64.exe" -g -m "%1"
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Looking For key
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.mp3 /ve
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:HKEY_CURRENT_USER\Software\Classes\.mp3
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output: (Default) REG_SZ (value not set)
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\(value not set)
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeHKCU\Software\Classes\.mp3\shell\SongKong.Match
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.mp3\shell\SongKong.Match
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeExistsHKCU\Software\Classes\.mp3\shell\SongKong.Match
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.AddContextMenu addContextMenu
SEVERE: MP3:AddContextMenu:false
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: launchCmd:"C:\Program Files\Jthink\SongKong\lib\SongKong64.exe" -g -d "%1"
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Looking For key
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.mp3 /ve
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:HKEY_CURRENT_USER\Software\Classes\.mp3
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output: (Default) REG_SZ (value not set)
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\(value not set)
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeHKCU\Software\Classes\.mp3\shell\SongKong.DeleteDuplicates
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.mp3\shell\SongKong.DeleteDuplicates
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeExistsHKCU\Software\Classes\.mp3\shell\SongKong.DeleteDuplicates
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.AddContextMenu addContextMenu
SEVERE: MP3:AddContextMenu:false
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: launchCmd:"C:\Program Files\Jthink\SongKong\lib\SongKong64.exe" -g -r "%1"
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Looking For key
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.mp3 /ve
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:HKEY_CURRENT_USER\Software\Classes\.mp3
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output: (Default) REG_SZ (value not set)
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\(value not set)
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeHKCU\Software\Classes\.mp3\shell\SongKong.UndoChanges
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.mp3\shell\SongKong.UndoChanges
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeExistsHKCU\Software\Classes\.mp3\shell\SongKong.UndoChanges
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.AddContextMenu addContextMenu
SEVERE: MP3:AddContextMenu:false
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: launchCmd:"C:\Program Files\Jthink\SongKong\lib\SongKong64.exe" -g -m "%1"
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Looking For key
Feb 14, 2017 7:38:49 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.ogg /ve
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:HKEY_CURRENT_USER\Software\Classes\.ogg
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output: (Default) REG_SZ (value not set)
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\(value not set)
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeHKCU\Software\Classes\.ogg\shell\SongKong.Match
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.ogg\shell\SongKong.Match
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeExistsHKCU\Software\Classes\.ogg\shell\SongKong.Match
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.AddContextMenu addContextMenu
SEVERE: OGG:AddContextMenu:false
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: launchCmd:"C:\Program Files\Jthink\SongKong\lib\SongKong64.exe" -g -d "%1"
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Looking For key
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.ogg /ve
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:HKEY_CURRENT_USER\Software\Classes\.ogg
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output: (Default) REG_SZ (value not set)
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\(value not set)
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeHKCU\Software\Classes\.ogg\shell\SongKong.DeleteDuplicates
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.ogg\shell\SongKong.DeleteDuplicates
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeExistsHKCU\Software\Classes\.ogg\shell\SongKong.DeleteDuplicates
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.AddContextMenu addContextMenu
SEVERE: OGG:AddContextMenu:false
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: launchCmd:"C:\Program Files\Jthink\SongKong\lib\SongKong64.exe" -g -r "%1"
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Looking For key
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.ogg /ve
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:HKEY_CURRENT_USER\Software\Classes\.ogg
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output: (Default) REG_SZ (value not set)
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\(value not set)
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeHKCU\Software\Classes\.ogg\shell\SongKong.UndoChanges
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.ogg\shell\SongKong.UndoChanges
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: targetKeyNodeExistsHKCU\Software\Classes\.ogg\shell\SongKong.UndoChanges
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.AddContextMenu addContextMenu
SEVERE: OGG:AddContextMenu:false
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: launchCmd:"C:\Program Files\Jthink\SongKong\lib\SongKong64.exe" -g -m "%1"
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Looking For key
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\.flac /ve
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output:HKEY_CURRENT_USER\Software\Classes\.flac
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager inferTargetKeyNode
SEVERE: Checking Output: (Default) REG_SZ
Feb 14, 2017 7:38:50 PM com.jthink.songkong.Windows.ContextMenuManager executeCommand
SEVERE: Cmd:REG QUERY HKCU\Software\Classes\
所以我让他绕过exe并运行纯java类,如下所示。 但正如你可以看到输出以某种方式引用songkong64.exe,它没有任何意义如何发生这种情况?
C:\Program Files\Jthink\SongKong>JVM64\bin\java -cp lib;lang -Xms150m -Xmx400m -jar lib/SongKong-4.6.jar
Feb 17, 2017 3:33:00 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 17, 2017 3:33:00 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 17, 2017 3:33:00 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 17, 2017 3:33:00 PM com.jthink.songkong.Windows.AddContextMenu buildLaunchCommand
SEVERE: Architecture is:amd64
Feb 17, 2017 3:33:00 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: launchCmd:"C:\Program Files\Jthink\SongKong\SongKong64.exe" -g -m "%1"
...
如果客户安装在另一台计算机上,它可以正常工作。
答案 0 :(得分:3)
从你问题的输出中,我想以下几行:
Feb 17, 2017 3:33:00 PM com.jthink.songkong.Windows.ContextMenuManager createContextMenu
SEVERE: launchCmd:"C:\Program Files\Jthink\SongKong\SongKong64.exe" -g -m "%1"
..正在尝试在Windows资源管理器上下文菜单中添加一个条目,直接用SongKong64.exe
打开文件?所以在ContextMenuManager.createContextMenu()
方法中可能会根据jar的路径猜出SongKong64.exe
的路径?如果您显示此方法的一些代码,也许我可以帮助您更好。
另一种可能性是问题来自缺少的权限,因为如果他将其安装在另一台机器上,它对您的客户有效。