You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by "Ing Sergio Basurto J." <sb...@soft-gator.com> on 2022/06/29 21:59:26 UTC

Re: [IDE Font Size] in Netbeans 14[Solved]

Thank you very much Michael, 

Running  netbeans with the font options works for me. 

Thanks again!! 

Best Regards, 

El 2022-06-29 16:52, Michael Bien escribió:

> something must be wrong with your netbeans_default_options list since this exception would happen if some of the module config flags are missing. 
> 
> you can simply launch netbeans with the font option 
> 
> bin/netbeans --fontsize 20 
> 
> regards, 
> michael 
> 
> On 29.06.22 23:35, Ing Sergio Basurto J. wrote: 
> 
>> Hello, 
>> 
>> I just upgrade to version 14, and can't change IDE font size, in previous versions I achieve this adding "--fontsize 20" to "netbeans_default_options" and the font was changed, but if I try to do this with version 14 I receive the following error:
>> 
>> Jun 29, 2022 4:30:17 PM org.netbeans.ProxyURLStreamHandlerFactory register
>> SEVERE: No way to find original stream handler for jar protocol
>> java.lang.reflect.InaccessibleObjectException: Unable to make field transient java.net.URLStreamHandler java.net.URL.handler accessible: module java.base does not "opens java.net" to unnamed module @76b0faf8
>> at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
>> at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
>> at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
>> at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
>> at org.netbeans.ProxyURLStreamHandlerFactory.register(ProxyURLStreamHandlerFactory.java:59)
>> at org.netbeans.JarClassLoader.(JarClassLoader.java:117)
>> at org.netbeans.MainImpl.execute(MainImpl.java:153)
>> at org.netbeans.MainImpl.main(MainImpl.java:60)
>> at org.netbeans.Main.main(Main.java:58)
>> 
>> java.lang.Error: factory already defined
>> at java.base/java.net.URL.setURLStreamHandlerFactory(URL.java:1228)
>> at org.eclipse.osgi.framework.internal.core.Framework.installURLStreamHandlerFactory(Framework.java:1765)
>> at org.eclipse.osgi.framework.internal.core.Framework.(Framework.java:232)
>> at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:67)
>> at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.init(EquinoxLauncher.java:37)
>> at org.eclipse.osgi.launch.Equinox.init(Equinox.java:178)
>> at org.netbeans.modules.netbinox.Netbinox.init(Netbinox.java:63)
>> at org.netbeans.core.netigso.Netigso.prepare(Netigso.java:146)
>> at org.netbeans.NetigsoHandle.turnOn(NetigsoHandle.java:115)
>> at org.netbeans.ModuleManager.enable(ModuleManager.java:1445)
>> at org.netbeans.ModuleManager.enable(ModuleManager.java:1254)
>> at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:316)
>> at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:252)
>> at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298)
>> at org.netbeans.core.startup.Main.getModuleSystem(Main.java:173)
>> at org.netbeans.core.startup.Main.getModuleSystem(Main.java:142)
>> at org.netbeans.core.startup.Main.start(Main.java:299)
>> at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
>> at java.base/java.lang.Thread.run(Thread.java:833)
>> 
>> So how can I change IDE font size in this version? 
>> 
>> Thanks in advance. 
>> 
>> Best Regards, 
>> --

--